@real-system/text
TypeScript icon, indicating that this package has built-in type declarations

0.0.13 • Public • Published

@real-system/text

Text primitive for real system.

npm version minified size

Usage

# install peer dependencies

# npm
$ npm install react react-dom @real-system/box @real-system/styling @real-system/theme @real-system/utils
# yarn
$ yarn add react react-dom @real-system/box @real-system/styling @real-system/theme @real-system/utils

# install text

# npm
$ npm install @real-system/text
# yarn
$ yarn add @real-system/text

Code Example

import { Text, TextProps, safelySpreadTextProps } from '@real-system/text';

const H1 = (props: TextProps) => (
  <Text as="h1" fontSize={10} {...safelySpreadTextProps(props)}>
    The quick brown fox jumped over the lazy dog.
  </Text>
);

/@real-system/text/

    Package Sidebar

    Install

    npm i @real-system/text

    Weekly Downloads

    23

    Version

    0.0.13

    License

    MIT

    Unpacked Size

    83.9 kB

    Total Files

    25

    Last publish

    Collaborators

    • bigwoof91