@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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    26
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    26
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

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

Weekly Downloads

26

Version

0.0.3

License

MIT

Unpacked Size

14.8 kB

Total Files

7

Last publish

Collaborators

  • hemengke-