0.0.13 • Published 2 years ago

@real-system/text-primitive v0.0.13

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Usage

# install peer dependencies

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

# install text

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

Code Example

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

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

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago