UNPKG

styled-components

Version:

Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅

11 lines (8 loc) • 406 B
'use strict'; exports.__esModule = true; exports.default = isStyledComponent; var babelPluginFlowReactPropTypes_proptype_Target = require('../types').babelPluginFlowReactPropTypes_proptype_Target || require('prop-types').any; function isStyledComponent(target) /* : %checks */{ return typeof target === 'function' && typeof target.styledComponentId === 'string'; } module.exports = exports['default'];