Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions src/icons/Shield/ShieldIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import { FC } from 'react';
import {
DEFAULT_HEIGHT,
DEFAULT_WIDTH,
DEFAULT_FILL

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have other props? Where is the secondary color, @KhushamBansal?

} from '../../constants/constants';
import { IconProps } from '../types';

export const ShieldIcon: FC<IconProps> = ({
width = DEFAULT_WIDTH,
height = DEFAULT_HEIGHT,
fill = DEFAULT_FILL,
style,
...props
}) => (
<svg
style={style}
xmlns="http://www.w3.org/2000/svg"
height={height}
viewBox="0 0 24 24"
width={width}
{...props}
>
<path
transform="translate(3.000000, 0.000000)"
fill={fill}
d="M9,0l-9.7,4.4v6.5C-0.8,17,3.4,22.6,9,24c5.6-1.4,9.7-7,9.7-13.1V4.4L9,0L9,0z"
/>
</svg>
);

export default ShieldIcon;
1 change: 1 addition & 0 deletions src/icons/Shield/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default as ShieldIcon } from './ShieldIcon';
1 change: 1 addition & 0 deletions src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,3 +207,4 @@ export * from './Wasm';
export * from './Workspace';
export * from './Zoom';
export * from './Checkbox';
export * from './Shield';
Loading