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

refactor(svg): split up Add icons #323

Merged
merged 1 commit into from
Nov 12, 2023
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
5 changes: 2 additions & 3 deletions packages/svg/src/icons/Add/AddIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import { FC } from 'react';
import { DEFAULT_FILL_NONE, DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
import { IconProps } from '../types';

export const AddIcon: FC<IconProps> = ({
export const AddIcon = ({
width = DEFAULT_WIDTH,
height = DEFAULT_HEIGHT,
fill = DEFAULT_FILL_NONE,
...props
}) => {
}: IconProps): JSX.Element => {
return (
<svg
width={width}
Expand Down
1 change: 0 additions & 1 deletion packages/svg/src/icons/Add/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export { default as AddIcon } from './AddIcon';
export { default as AddIconCircleBordered } from './AddIconCircleBordered';
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import { FC } from 'react';
import { DEFAULT_FILL_NONE, DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
import { IconProps } from '../types';

export const AddIconCircleBordered: FC<IconProps> = ({
export const AddIconCircleBordered = ({
width = DEFAULT_WIDTH,
height = DEFAULT_HEIGHT,
fill = DEFAULT_FILL_NONE,
...props
}) => {
}: IconProps): JSX.Element => {
return (
<svg
width={width}
Expand Down
1 change: 1 addition & 0 deletions packages/svg/src/icons/AddCircle/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default as AddCircleIcon } from './AddCircleIcon';
1 change: 1 addition & 0 deletions packages/svg/src/icons/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export * from './Add';
export * from './AddCircle';
export * from './Application';
export * from './Bell';
export * from './Bus';
Expand Down