@minko-fe/style-object-to-string
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

style-object-to-string

convert style object to string

install

pnpm

pnpm add @minko-fe/style-object-to-string

npm

npm add @minko-fe/style-object-to-string

usage

import { styleObjectToString } from '@minko-fe/style-object-to-string'

styleObjectToString({
  fontSize: 14,
  backgroundColor: '#fff',
}) // 'font-size:14px;background-color:#fff'

❤️ react

Source code from react

Package Sidebar

Install

npm i @minko-fe/style-object-to-string

Weekly Downloads

96

Version

0.0.3

License

MIT

Unpacked Size

14.8 kB

Total Files

7

Last publish

Collaborators

  • hemengke-