1.0.0 • Published 4 years ago
@mofon-design/csstype v1.0.0
CSSType
TypeScript definitions for CSS, fork from https://github.com/frenic/csstype.
import { CSSType } from '@mofon-design/csstype';
const style: CSSType.Properties = {
colour: 'white', // Type error on property
textAlign: 'middle', // Type error on value
};
Getting started
$ npm install @mofon-design/csstype
$ # or
$ yarn add @mofon-design/csstype
1.0.0
4 years ago