Skip to content

Commit

Permalink
feat: Add icon components for Neo design
Browse files Browse the repository at this point in the history
  • Loading branch information
ironAiken2 committed Feb 20, 2025
1 parent d54d1c4 commit 0d86f3b
Show file tree
Hide file tree
Showing 46 changed files with 398 additions and 19 deletions.
6 changes: 6 additions & 0 deletions react/src/components/BAIIcons/App.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions react/src/components/BAIIcons/AppIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { ReactComponent as logo } from './App.svg';
import Icon from '@ant-design/icons';
import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';

interface AppIconProps
extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {}

const AppIcon: React.FC<AppIconProps> = (props) => {
return <Icon component={logo} {...props} />;
};

export default AppIcon;
12 changes: 12 additions & 0 deletions react/src/components/BAIIcons/CalculateResource.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions react/src/components/BAIIcons/CalculateResourceIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { ReactComponent as logo } from './CalculateResource.svg';
import Icon from '@ant-design/icons';
import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';

interface CalculateResourceIconProps
extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {}

const CalculateResourceIcon: React.FC<CalculateResourceIconProps> = (props) => {
return <Icon component={logo} {...props} />;
};

export default CalculateResourceIcon;
6 changes: 6 additions & 0 deletions react/src/components/BAIIcons/ContainerCommit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions react/src/components/BAIIcons/ContainerCommitIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { ReactComponent as logo } from './ContainerCommit.svg';
import Icon from '@ant-design/icons';
import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';

interface ContainerCommitIconProps
extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {}

const ContainerCommitIcon: React.FC<ContainerCommitIconProps> = (props) => {
return <Icon component={logo} {...props} />;
};

export default ContainerCommitIcon;
3 changes: 3 additions & 0 deletions react/src/components/BAIIcons/Dashboard.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions react/src/components/BAIIcons/DashboardIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { ReactComponent as logo } from './Dashboard.svg';
import Icon from '@ant-design/icons';
import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';

interface DashboardIconProps
extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {}

const DashboardIcon: React.FC<DashboardIconProps> = (props) => {
return <Icon component={logo} {...props} />;
};

export default DashboardIcon;
11 changes: 11 additions & 0 deletions react/src/components/BAIIcons/Endpoint.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions react/src/components/BAIIcons/EndpointIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { ReactComponent as logo } from './Endpoint.svg';
import Icon from '@ant-design/icons';
import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';

interface EndpointProps
extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {}

const Endpoint: React.FC<EndpointProps> = (props) => {
return <Icon component={logo} {...props} />;
};

export default Endpoint;
17 changes: 5 additions & 12 deletions react/src/components/BAIIcons/Examples.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions react/src/components/BAIIcons/List.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions react/src/components/BAIIcons/ListIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { ReactComponent as logo } from './List.svg';
import Icon from '@ant-design/icons';
import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';

interface ListIconProps
extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {}

const ListIcon: React.FC<ListIconProps> = (props) => {
return <Icon component={logo} {...props} />;
};

export default ListIcon;
Loading

0 comments on commit 0d86f3b

Please sign in to comment.