0.0.7 • Published 12 months ago

lp-ui_button v0.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

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;
}

License

Authors

Github Repository

0.0.7

12 months ago

0.0.6

12 months ago

0.0.5

12 months ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago