Overview
This product is a React ecosystem library designed for building back-office platforms like DD360. It is created by developers for developers and is currently in its stable version 6. The library offers various features for customizing themes and provides components that can be used in React applications.
Features
- Stable v6
- License
- npm latest package
- npm downloads
- Average time to resolve an issue
- CII Best Practices
- Storybook
Installation
To install the library, follow the steps below:
Install the package using npm:
npm install dd360-dsImport the ThemeProvider component and the createTheme function from the library:
import { ThemeProvider, createTheme } from 'dd360-ds/theme';Create your own theme configuration using the createTheme function:
const themeConfig = createTheme({ primaryColor: 'blue', secondaryColor: 'green', // other theme properties });Wrap your React app with the ThemeProvider and pass the theme configuration as a prop:
const App = () => { return ( <ThemeProvider theme={themeConfig}> {/* your app components */} </ThemeProvider> ); }; export default App;
Summary
The React ecosystem library for building back-office platforms like DD360 is a powerful tool for developers. It offers a stable version with various features and customization options. The installation process is straightforward, and the library provides components that can be easily used in React applications.