-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from AElf-devops/feat/icons-nav
feat: icon size control by font-size
- Loading branch information
Showing
8 changed files
with
28 additions
and
29 deletions.
There are no files selected for viewing
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,13 @@ | ||
import * as React from 'react'; | ||
|
||
import { AelfIcon } from '../icon/AelfIcon'; | ||
import AelfSVGComponent from '../svgs/key-board.svg'; | ||
import { type IconProps } from '../type'; | ||
|
||
const componentName = 'Keyboard'; | ||
export const Keyboard = React.forwardRef<HTMLSpanElement, IconProps>((props, ref) => { | ||
return ( | ||
<AelfIcon component={AelfSVGComponent} componentName={componentName} ref={ref} {...props} /> | ||
); | ||
}); | ||
Keyboard.displayName = componentName; |
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
6 changes: 6 additions & 0 deletions
6
packages/internal-icons/src/components/direction/LeftOutlined.tsx
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,6 @@ | ||
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<path | ||
d="M10.5462 16.0006L20.5966 26.051C20.7528 26.2072 20.7528 26.4604 20.5966 26.6166L19.1823 28.0309C19.0261 28.1871 18.7729 28.1871 18.6167 28.0309L7.29289 16.7071C6.90237 16.3166 6.90237 15.6834 7.29289 15.2929L18.618 3.96896C18.7742 3.81275 19.0275 3.81275 19.1837 3.96896L20.5979 5.38318C20.7541 5.53939 20.7541 5.79265 20.5979 5.94886L10.5462 16.0006Z" | ||
fill="#101114" | ||
/> | ||
</svg>; |
Empty file.
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
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
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