generated from layer5io/layer5-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add new expand and collapse all icons
Signed-off-by: Amit Amrutiya <[email protected]>
- Loading branch information
1 parent
bc56366
commit 2f3626d
Showing
5 changed files
with
92 additions
and
0 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,44 @@ | ||
import React from 'react'; | ||
|
||
interface CollapsAllIconProps { | ||
height?: string; | ||
width?: string; | ||
fill?: string; | ||
strokeWidth?: string; | ||
style?: React.CSSProperties; | ||
} | ||
|
||
const CollapsAllIcon: React.FC<CollapsAllIconProps> = ({ | ||
height = '24', | ||
width = '24', | ||
fill = 'none', | ||
strokeWidth = '2', | ||
style | ||
}) => ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 24 24" | ||
height={height} | ||
width={width} | ||
style={style} | ||
> | ||
<path | ||
d="M17 16l-5-5-5 5" | ||
fill={fill} | ||
stroke="currentColor" | ||
strokeWidth={strokeWidth} | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
/> | ||
<path | ||
d="M17 10l-5-5-5 5" | ||
fill={fill} | ||
stroke="currentColor" | ||
strokeWidth={strokeWidth} | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
/> | ||
</svg> | ||
); | ||
|
||
export default CollapsAllIcon; |
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 @@ | ||
export { default as CollapseAll } from './CollapseAllIcon'; |
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,44 @@ | ||
import React from 'react'; | ||
|
||
interface ExpandAllProps { | ||
height?: string; | ||
width?: string; | ||
fill?: string; | ||
strokeWidth?: string; | ||
style?: React.CSSProperties; | ||
} | ||
|
||
const ExpandAll: React.FC<ExpandAllProps> = ({ | ||
height = '24', | ||
width = '24', | ||
fill = 'none', | ||
strokeWidth = '2', | ||
style | ||
}) => ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 24 24" | ||
height={height} | ||
width={width} | ||
style={style} | ||
> | ||
<path | ||
d="M7 8l5 5 5-5" | ||
fill={fill} | ||
stroke="currentColor" | ||
strokeWidth={strokeWidth} | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
/> | ||
<path | ||
d="M7 14l5 5 5-5" | ||
fill={fill} | ||
stroke="currentColor" | ||
strokeWidth={strokeWidth} | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
/> | ||
</svg> | ||
); | ||
|
||
export default ExpandAll; |
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 @@ | ||
export { default as ExpandAll } from './ExpandAllIcon'; |
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