@mofon-design/csstype
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i @mofon-design/csstype

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

1.66 MB

Total Files

4

Last publish

Collaborators

  • imhele