$ npm install @reable/ems-design-system
# or
$ yarn add @reable/ems-design-system
To start using the components, first wrap your application in a provider provided by @reable/ems-design-system
import { ReableEMSProvider } from '@reable/ems-design-system';
const App = ({ children }) => {
return <ReableEMSProvider>{children}</ReableEMSProvider>;
};
After adding the provider, now you can start using components like this.
import { Button } from '@reable/ems-design-system';
function App() {
return (
<Button variant="primary" size="lg">
Hello World
</Button>
);
}