README
Motivated
motivated
is a React Component library written by TypeScript, React hooks and styled-component.
Installation
# using yarn
yarn add motivated
# using npm
npm install motivated
Usage
// App.tsx
import { ThemeProvider, theme } from "motivated";
const App: React.FC = () => {
return (
<ThemeProvider theme={theme.light}>
{
// Children
}
</ThemeProvider>
);
};
Supporting Components
- Theme (Only default theme in this moment)
- Form
- Input
- Grid
Run Storybook
- Clone this project
- Download dependencies
yarn
- Run storybook
yarn storybook