The official component library for GroundFloor application
The package can be installed via npm:
npm install groundfloor-react-ui --save
1. To use DateSelect component add the below css file to your root
import 'react-datepicker/dist/react-datepicker.css';
2. To use Overlay component, Tooltip and ButtonPopup add the below css file to your root
import 'react-popper-tooltip/dist/styles.css';
3. To defaultThemeColor, defaultStyles,colors, getDefaultStyles function, hexToRGB function, use import {defaultThemeColor, defaultStyles, colors, getDefaultStyles, hexToRGB} from 'groundfloor-react-ui'
4. Add import 'react-phone-input-2/lib/style.css' if CountryCodedPhoneInput is needed
https://groundfloor-react-ui--63f723af2a11e9df1310e721.chromatic.com/
The following peer dependencies are required to run in a React Project
- React v16.3 or greater
- styled-components v5 or greater