0.0.29 • Published 3 months ago
@real-system/elements-primitive v0.0.29
Installation
# install peer dependencies
# npm
$ npm install react react-dom @real-system/styled-library
# yarn
$ yarn add react react-dom @real-system/styled-library
# install elements-primitive
# npm
$ npm install @real-system/elements-primitive
# yarn
$ yarn add @real-system/elements-primitive
Code Example
import { real, RealElementPrimitiveProps } from '@real-system/elements-primitive';
const H1 = ({ children, ...restProps }: RealElementPrimitiveProps) => {
return (
<real.h1
fontSize={4}
fontWeight={3}
lineHeight={4}
margin={0}
{...restProps}>
{children}
</real.h1>
)
}
0.0.29
3 months ago
0.0.28
3 months ago
0.0.27
4 months ago
0.0.26
4 months ago
0.0.23
7 months ago
0.0.24
7 months ago
0.0.25
7 months ago
0.0.20
1 year ago
0.0.21
1 year ago
0.0.22
1 year ago
0.0.19
2 years ago
0.0.14
2 years ago
0.0.15
2 years ago
0.0.16
2 years ago
0.0.17
2 years ago
0.0.18
2 years ago
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.9
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.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago
0.0.0
2 years ago