How to use the css.Label__important function in css

To help you get started, we’ve selected a few css 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 andreypopp / react-css-components / src / __tests__ / fixtures / custom-variant-complex.js View on Github external
module.exports.Label = function Label(props) {
  var variant = props.variant || {};
  var className = styles.Label + (variant.important ? ' ' + styles.Label__important : '') + (variant.shadow ? ' ' + styles.Label__shadow : '');
  return React.createElement("div", reconcileProps(props, className));
};
github andreypopp / react-css-components / src / __tests__ / fixtures / custom-variant.js View on Github external
module.exports.Label = function Label(props) {
  var variant = props.variant || {};
  var className = styles.Label + (variant.important ? ' ' + styles.Label__important : '');
  return React.createElement("div", reconcileProps(props, className));
};