Atomic UI components for Xalgorithms Foundation projects
npm install xf-material-components``jsx`
$ yarn add xf-material-components
These components are ready to go out of the box for applications using react. In the root app.jsx file, import the global style and add the component within the render as follows.
`jsx
// App.js
import { Button, InputText, InputDate } from 'xf-material-components'
import GlobalStyle from 'xf-material-components/config/global.styles'
function App() {
return (
export default App;
`
For react next.js projects, import the rootStyle.css into your index.js file.
`jsx
// index.js
import 'xf-material-components/config/rootStyle.css'
``