Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | 176x 176x 6x 176x 176x 176x 176x | import _ from 'lodash';
import React from 'react';
import Icon, { IIconProps, propTypes as iconPropTypes } from '../Icon';
import { lucidClassNames } from '../../../util/style-helpers';
import { omitProps } from '../../../util/component-types';
const cx = lucidClassNames.bind('&-AttachIcon');
interface IAttachIconProps extends IIconProps {}
export const AttachIcon = ({
className,
...passThroughs
}: IAttachIconProps) => {
return (
<Icon
{...omitProps(
passThroughs,
undefined,
_.keys(AttachIcon.propTypes),
false
)}
{..._.pick(passThroughs, _.keys(iconPropTypes))}
className={cx('&', className)}
>
<path d='M12.606 10.189l-4.171 4.152a3.988 3.988 0 0 1-5.621 0 4.454 4.454 0 0 1 0-6.319l6.678-6.649a3.002 3.002 0 0 1 4.231 0 2.63 2.63 0 0 1 0 3.731l-7.162 7.131a1.33 1.33 0 0 1-1.874 0 1.485 1.485 0 0 1 0-2.106l4.926-4.904' />
</Icon>
);
};
AttachIcon.displayName = 'AttachIcon';
AttachIcon.peek = {
description: `
A link/attach icon, used for indicating an attachment.
`,
categories: ['visual design', 'icons'],
extend: 'Icon',
madeFrom: ['Icon'],
};
AttachIcon.propTypes = iconPropTypes;
AttachIcon.defaultProps = Icon.defaultProps;
export default AttachIcon;
|