Fireberry's React components. Use them to build your app. https://design-system.fireberry.com/
With npm:
npm install @fireberry/ds
- Go to
App.js
file, importDSThemeContextProvider
from@fireberry/ds
package and wrap your function with it (use isRtl flag for RTL support):
import { DSThemeContextProvider } from '@fireberry/ds';
function App() {
return (
<DSThemeContextProvider isRtl={isRtl}>
...
</DSThemeContextProvider>
);
}
- Import your desired component from
@fireberry/ds
and use it as mentioned in Fireberry Design System. e.g.,
import { Button } from '@fireberry/ds';
function Component() {
return <Button label='Button' color='success' variant='primary' onClick={() => {}} />
}