lucid-ui
Version:
A UI component library from AppNexus.
24 lines (23 loc) • 1.35 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('&-UnlinkedIcon');
export const UnlinkedIcon = ({ className, ...passThroughs }) => {
return (React.createElement(Icon, Object.assign({}, omitProps(passThroughs, undefined, _.keys(UnlinkedIcon.propTypes), false), _.pick(passThroughs, _.keys(iconPropTypes)), { className: cx('&', className) }),
React.createElement("path", { d: 'M5.5 3.5l-1-2m8 9l2 1m-4 1l1 2m-8-9l-2-1' }),
React.createElement("path", { d: 'M10.232 7.768a2.993 2.993 0 0 0 2.979-.737l1.414-1.414a3.009 3.009 0 0 0 0-4.243 3.009 3.009 0 0 0-4.243 0L8.968 2.789c-.804.804-1.04 1.956-.737 2.979M5.769 8.231c-1.023-.303-2.176-.067-2.98.737l-1.414 1.414a3.009 3.009 0 0 0 0 4.243 3.009 3.009 0 0 0 4.243 0l1.414-1.414c.804-.804 1.04-1.956.737-2.979' })));
};
UnlinkedIcon.displayName = 'UnlinkedIcon';
UnlinkedIcon.peek = {
description: `
For all those times you just need to break away.
`,
categories: ['visual design', 'icons'],
extend: 'Icon',
madeFrom: ['Icon'],
};
UnlinkedIcon.propTypes = iconPropTypes;
UnlinkedIcon.defaultProps = Icon.defaultProps;
export default UnlinkedIcon;