1.0.0 • Published 4 years ago

@mofon-design/csstype v1.0.0

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

CSSType

npm

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