lp-ui_button
v0.0.7
Published
Liverpool Button for Design System
Downloads
40
Maintainers
Readme
Liverpool UI - Button
This Button component is for the Liverpool-Ui, based on the Figma Proyect "Liverpool Design".
Instalation
npm i lp-ui_button
Usage
1.- Import in you react component:
import {Button} from "lp-ui_button"
2.- You need to send props that buttons need for work.
{
disabled: boolean;
icon: string;
iconLeft: boolean;
iconRight: boolean;
iconStyle: string;
styles: string;
styleType: 'primary' | 'secondary' | 'outlined' | 'textLink';
text: string;
type: 'button' | 'submit';
onClick: () => void;
}