lucid-ui
Version:
A UI component library from AppNexus.
25 lines • 1.15 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('&-ViewIcon');
export const ViewIcon = ({ className, ...passThroughs }) => {
return (React.createElement(Icon, Object.assign({}, omitProps(passThroughs, undefined, _.keys(ViewIcon.propTypes), false), _.pick(passThroughs, _.keys(iconPropTypes)), { className: cx('&', className) }),
React.createElement("path", { d: 'M15.5 8s-3-4.5-7.5-4.5S.5 8 .5 8 4 12.5 8 12.5 15.5 8 15.5 8z' }),
React.createElement("circle", { cx: '8', cy: '8', r: '1.25' })));
};
ViewIcon.displayName = 'ViewIcon';
ViewIcon.peek = {
description: `
This icon is pretty generic and should be used a last case resort to
another icon that's more descriptive.
`,
categories: ['visual design', 'icons'],
extend: 'Icon',
madeFrom: ['Icon'],
};
ViewIcon.propTypes = iconPropTypes;
ViewIcon.defaultProps = Icon.defaultProps;
export default ViewIcon;
//# sourceMappingURL=ViewIcon.js.map