css-in-js-utils
- Version 3.1.0
- Published
- 61.1 kB
- 1 dependency
- MIT license
Install
npm i css-in-js-utils
yarn add css-in-js-utils
pnpm add css-in-js-utils
Overview
Useful utility functions for CSS in JS solutions
Index
Functions
function assignStyle
assignStyle: ( base: StyleObject, ...extendingStyles: StyleObject[]) => StyleObject;
function camelCaseProperty
camelCaseProperty: (property: string) => string;
function cssifyDeclaration
cssifyDeclaration: (property: string, value: string | number) => string;
function cssifyObject
cssifyObject: (style: StyleObject) => string;
function hyphenateProperty
hyphenateProperty: (property: string | number) => string;
function isPrefixedProperty
isPrefixedProperty: (property: string) => boolean;
function isPrefixedValue
isPrefixedValue: (value: string) => boolean;
function isUnitlessProperty
isUnitlessProperty: (property: string) => boolean;
function normalizeProperty
normalizeProperty: (property: string) => string;
function resolveArrayValue
resolveArrayValue: (property: string, value: string[]) => string;
function unprefixProperty
unprefixProperty: (property: string) => string;
function unprefixValue
unprefixValue: (value: string | string[]) => string | string[];
Package Files (13)
Dependencies (1)
Dev Dependencies (17)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/css-in-js-utils
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/css-in-js-utils)
- HTML<a href="https://www.jsdocs.io/package/css-in-js-utils"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2409 ms. - Missing or incorrect documentation? Open an issue for this package.