UNPKG

lucid-ui

Version:

A UI component library from AppNexus.

25 lines (24 loc) 1.17 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('&-StopwatchIcon'); export const StopwatchIcon = ({ className, ...passThroughs }) => { return (React.createElement(Icon, Object.assign({}, omitProps(passThroughs, undefined, _.keys(StopwatchIcon.propTypes), false), _.pick(passThroughs, _.keys(iconPropTypes)), { className: cx('&', className) }), React.createElement("path", { d: 'M7.5.5h3M9 .5v1.98M.5 6h5m-5 3h3m-3 3h4' }), React.createElement("path", { d: 'M5.5 14.471A6.455 6.455 0 0 0 9 15.5a6.5 6.5 0 1 0 0-13c-1.29 0-2.489.38-3.5 1.029' }), React.createElement("path", { d: 'M9 9l2.5-2.5' }))); }; StopwatchIcon.displayName = 'StopwatchIcon'; StopwatchIcon.peek = { description: ` A Stopwatch Icon. `, categories: ['visual design', 'icons'], extend: 'Icon', madeFrom: ['Icon'], }; StopwatchIcon.propTypes = iconPropTypes; StopwatchIcon.defaultProps = Icon.defaultProps; export default StopwatchIcon;