How to use the css-in-js-utils/lib/camelCaseProperty function in css-in-js-utils

To help you get started, we’ve selected a few css-in-js-utils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github robinweser / fela / packages / fela-utils / src / generateDeclarationReference.js View on Github external
export default function generateDeclarationReference(
  property: string,
  value: any,
  pseudo?: string = '',
  media?: string = '',
  support?: string = ''
): string {
  return support + media + pseudo + camelCaseProperty(property) + value
}