rofrischmann/fela

View on GitHub
packages/fela/src/extractCustomClassName.js

Summary

Maintainability
A
0 mins
Test Coverage
export default function extractCustomClassName(style) {
  if (style._className) {
    const cls = style._className + ' '
    delete style._className
    return cls
  }

  return ''
}