UNPKG

lucid-ui

Version:

A UI component library from AppNexus.

24 lines 1.1 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('&-DownloadIcon'); export const DownloadIcon = ({ className, ...passThroughs }) => { return (React.createElement(Icon, Object.assign({}, omitProps(passThroughs, undefined, _.keys(DownloadIcon.propTypes), false), _.pick(passThroughs, _.keys(iconPropTypes)), { className: cx('&', className) }), React.createElement("path", { d: 'M8 0v12m5-5l-5 5-5-5' }), React.createElement("path", { d: 'M.5 13.5v2h15v-2' }))); }; DownloadIcon.displayName = 'DownloadIcon'; DownloadIcon.peek = { description: ` Typically used to denote that something is available for download. `, categories: ['visual design', 'icons'], extend: 'Icon', madeFrom: ['Icon'], }; DownloadIcon.propTypes = iconPropTypes; DownloadIcon.defaultProps = Icon.defaultProps; export default DownloadIcon; //# sourceMappingURL=DownloadIcon.js.map