UNPKG

lucid-ui

Version:

A UI component library from AppNexus.

24 lines (23 loc) 1.06 kB
import _ from 'lodash'; import React from 'react'; import Icon, { propTypes as iconPropTypes } from '../Icon'; import { lucidClassNames } from '../../../util/style-helpers'; import { omitProps } from '../../../util/component-types'; const cx = lucidClassNames.bind('&-UnlockedIcon'); export const UnlockedIcon = ({ className, ...passThroughs }) => { return (React.createElement(Icon, Object.assign({}, omitProps(passThroughs, undefined, _.keys(UnlockedIcon.propTypes), false), _.pick(passThroughs, _.keys(iconPropTypes)), { className: cx('&', className) }), React.createElement("path", { d: 'M1.5 6.5h13v9h-13zm2 0V5a4.5 4.5 0 0 1 8.741-1.508M7.99 13.293v-3' }), React.createElement("circle", { cx: '8', cy: '10', r: '.5' }))); }; UnlockedIcon.displayName = 'UnlockedIcon'; UnlockedIcon.peek = { description: ` Unlock it. `, categories: ['visual design', 'icons'], extend: 'Icon', madeFrom: ['Icon'], }; UnlockedIcon.propTypes = iconPropTypes; UnlockedIcon.defaultProps = Icon.defaultProps; export default UnlockedIcon;