-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add icon components for Neo design
- Loading branch information
1 parent
d54d1c4
commit 0d86f3b
Showing
46 changed files
with
398 additions
and
19 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
Oops, something went wrong.