Skip to content

Commit

Permalink
feat(icons): add Draft icon (#1302)
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-apostoliuk authored Sep 28, 2023
1 parent 6f95e60 commit 3ae2423
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
38 changes: 38 additions & 0 deletions packages/big-design-icons/src/components/DraftIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// **********************************
// Auto-generated file, do NOT modify
// **********************************
import React, { forwardRef, memo, useId } from 'react';

import { createStyledIcon, IconProps, PrivateIconProps } from '../base';

const Icon: React.FC<IconProps & PrivateIconProps> = ({ svgRef, title, theme, ...props }) => {
const uniqueTitleId = useId();
const titleId = title ? props.titleId || uniqueTitleId : undefined;
const ariaHidden = titleId ? undefined : true;

return (
<svg
aria-hidden={ariaHidden}
aria-labelledby={titleId}
fill="currentColor"
height={48}
ref={svgRef}
stroke="currentColor"
strokeWidth="0"
viewBox="0 -960 960 960"
width={48}
{...props}
>
{title ? <title id={titleId}>{title}</title> : null}
<path d="M220-80q-24 0-42-18t-18-42v-680q0-24 18-42t42-18h361l219 219v521q0 24-18 42t-42 18H220zm331-554v-186H220v680h520v-494H551zM220-820v186-186 680-680z" />
</svg>
);
};

const IconWithForwardedRef = forwardRef<SVGSVGElement, IconProps>((iconProps, ref) => (
<Icon {...iconProps} svgRef={ref} />
));

export const DraftIcon = memo(createStyledIcon(IconWithForwardedRef));

DraftIcon.displayName = 'DraftIcon';
1 change: 1 addition & 0 deletions packages/big-design-icons/src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export * from './CloudUploadIcon';
export * from './CodeIcon';
export * from './ContentCopyIcon';
export * from './DeleteIcon';
export * from './DraftIcon';
export * from './DragIndicatorIcon';
export * from './EditIcon';
export * from './ErrorIcon';
Expand Down
1 change: 1 addition & 0 deletions packages/big-design-icons/svgs/material/draft.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3ae2423

Please sign in to comment.