Package Exports
- @real-system/styling
- @real-system/styling/lib/index.esm.js
- @real-system/styling/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@real-system/styling) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@real-system/styling
Real System's styling library.
Usage
Installation
# install peer dependencies
# npm
$ npm install react react-dom
# yarn
$ yarn add react react-dom
# install styling
# npm
$ npm install @real-system/styling
# yarn
$ yarn add @real-system/stylingCode Example
import styled from '@real-system/styling';
const Flex = styled.div`
display: flex;
`;
const MyComponent = () => {
return (
<Flex>
...
</Flex>
);
};