2.3.1 • Published 2 years ago

@ws-serenity/react-button v2.3.1

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
2 years ago

@ws-serenity/react-button

Repository

About

Содержит компонент кнопки с иконкой и подписью

type BaseButtonProps = {
    // текст внутри компонента
    label?: string;
    // Inline Svg react component
    icon?: React.FunctionComponent<React.SVGAttributes<SVGElement>>;
}
<Button
    type={'button'}
    label={'Hello world'}
/>

export type ButtonProps = BaseButtonProps
    & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'>
2.3.1

2 years ago

2.3.0

2 years ago

2.2.1

2 years ago

2.2.0

2 years ago

1.2.0

2 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

0.0.1

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago