Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add bell icon #459

Merged
merged 4 commits into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
3 changes: 3 additions & 0 deletions assets/icons/basic/bell.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions src/icons/basic/BellIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// DO NOT EDIT. This file was generated by running `npm run generate`.;
import * as React from 'react';
import { get } from '../../utils/themeGet';
import { IconProps } from '../IconProps';
type Props = IconProps;
const BellIcon: React.FC<Props> = ({ size = 'medium', color = 'inherit', ...rest }) => {
const props = { ...rest, color };
const sizePx = Number.isFinite(size as number)
? size
: get(`iconSizes.${size}`)(props) || get('iconSizes.medium')(props);
return (
<svg
{...props}
width={sizePx}
height={sizePx}
viewBox="0 0 24 25"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M5 19.5a.967.967 0 01-.713-.288A.968.968 0 014 18.5c0-.283.096-.52.287-.712A.967.967 0 015 17.5h1v-7c0-1.383.417-2.612 1.25-3.688.833-1.075 1.917-1.779 3.25-2.112V4c0-.417.146-.77.438-1.063A1.447 1.447 0 0112 2.5c.417 0 .77.146 1.063.438.291.291.437.645.437 1.062v.7c1.333.333 2.417 1.037 3.25 2.112C17.583 7.888 18 9.117 18 10.5v7h1c.283 0 .52.096.712.288.192.191.288.429.288.712s-.096.52-.288.712A.968.968 0 0119 19.5H5zm7 3c-.55 0-1.02-.196-1.412-.587A1.926 1.926 0 0110 20.5h4c0 .55-.196 1.02-.588 1.413A1.926 1.926 0 0112 22.5zm-4-5h8v-7c0-1.1-.392-2.042-1.175-2.825C14.042 6.892 13.1 6.5 12 6.5s-2.042.392-2.825 1.175C8.392 8.458 8 9.4 8 10.5v7z"
fill="currentColor"
/>
</svg>
);
};
export default BellIcon;
1 change: 1 addition & 0 deletions src/icons/basic/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ export { default as MegaphoneIcon } from './MegaphoneIcon';
export { default as ParcelIcon } from './ParcelIcon';
export { default as StarCircleFilledIcon } from './StarCircleFilledIcon';
export { default as TrophyIcon } from './TrophyIcon';
export { default as BellIcon } from "./BellIcon";