lucid-ui
Version:
A UI component library from AppNexus.
24 lines • 1.05 kB
JavaScript
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('&-ClockIcon');
export const ClockIcon = ({ className, ...passThroughs }) => {
return (React.createElement(Icon, Object.assign({}, omitProps(passThroughs, undefined, _.keys(ClockIcon.propTypes), false), _.pick(passThroughs, _.keys(iconPropTypes)), { className: cx('&', className) }),
React.createElement("circle", { cx: '8', cy: '8', r: '7.5' }),
React.createElement("path", { d: 'M8 3.5v5l2.75 2.25' })));
};
ClockIcon.displayName = 'ClockIcon';
ClockIcon.peek = {
description: `
Typically used for time-sensitive stuff.
`,
categories: ['visual design', 'icons'],
extend: 'Icon',
madeFrom: ['Icon'],
};
ClockIcon.propTypes = iconPropTypes;
ClockIcon.defaultProps = Icon.defaultProps;
export default ClockIcon;
//# sourceMappingURL=ClockIcon.js.map