JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q33649F
  • License MIT

theme and components for real system

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.

npm version minified size

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/styling

Code Example

import styled from '@real-system/styling';

const Flex = styled.div`
  display: flex;
`;

const MyComponent = () => {
  return (
    <Flex>
      ...
    </Flex>
  );
};