Styled System HOC
React HOC based on Styled System for Lido Finance projects. Part of Lido UI Components
Styled System lets you quickly build custom UI components with constraint-based style props based on scales defined in your theme.
Install
yarn add @lidofinance/styled-system
Usage
import { withStyledSystem } from '@lidofinance/styled-system'
const WrappedComponent = withStyledSystem(SomeComponent)
Check out our Storybook at https://ui.lido.fi