1.14.6 • Published 10 months ago
exhio-ui-library v1.14.6
Exhio System Design
Table of Contents
- Description
- Installation
- Usage
- Contributing
- License
Storybook
You can watch every component in action just here https://exhio-storybook.vercel.app
Repository
https://gitlab.com/e2301/exhio-ui
Description
This is a UI components library, this library is to the Exhio company for all UI.
Installation
npm install exhio-ui-library
or
yarn add exhio-ui-library
Usage
Here you can find every component. All the components can be used like every react component.
Exhio Button
export interface IExhioButtonProps
extends React.ButtonHTMLAttributes<HTMLButtonElement> {
text: string;
variant: ButtonType;
color?: ColorType;
// eslint-disable-next-line @typescript-eslint/ban-types
onClick?: () => void;
className?: string;
}
export const ExhioButton = ({
text,
variant,
color,
onClick,
className,
...props
}: IExhioButtonProps) => {
const TEST_KEY = 'button-key';
return (
<ThemeProvider theme={ButtonTheme}>
<StyledButton
variant={variant}
color={color}
onClick={onClick}
key={TEST_KEY}
size='large'
className={className}
{...props}
>
{text}
</StyledButton>
</ThemeProvider>
);
};
const StyledButton = styled(Button)`
padding: 8px 22px !important;
`;
Contributing
Christian Ramos christian.ramos@exhio.com.mx Ricardo López ricardo.lopez@exhio.com.mx
License MIT
1.10.5
10 months ago
1.13.6
10 months ago
1.12.6
10 months ago
1.11.6
10 months ago
1.10.6
10 months ago
1.5.5
11 months ago
1.4.5
11 months ago
1.3.6
11 months ago
1.3.5
11 months ago
1.2.6
11 months ago
1.14.6
10 months ago
1.1.5
11 months ago
1.0.5
11 months ago
1.9.5
10 months ago
1.8.5
11 months ago
1.7.5
11 months ago
1.6.5
11 months ago
1.0.4
11 months ago
1.0.3
11 months ago
1.0.2
11 months ago
1.1.1
11 months ago
1.0.0
11 months ago