fc-ui-library
v2.1.7
Published
Shared FC UI library.
Readme
FC UI Library
A common design library that you can directly import into your project. This library provides reusable components to make development faster and more consistent across projects.
Components
Button
The Button component provides a consistent, reusable implementation for buttons with predefined styles. It supports three types: primary, secondary, and disabled.
Usage
Import the Button Module
First, import theButtonModuleinto your Angular project:import { FcUiLibraryModule } from 'fc-ui-library'; @NgModule({ imports: [FcUiLibraryModule], }) export class AppModule {}Add the button to your template Use the
fc-buttondirective in your HTML template:
<fc-button type="primary">Primary Button</fc-button>
<fc-button type="secondary">Secondary Button</fc-button>
<fc-button type="primary" [disabled]="true">Disabled Button</fc-button>Inputs:
type: The type of the button. Can be primary, secondary [string]disabled: Whether the button is disabled or not [boolean]
