-
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 #48 from KirillSerg/layers
Layers
- Loading branch information
Showing
6 changed files
with
171 additions
and
13 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
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,46 @@ | ||
export const IconLayerToBackFront = () => { | ||
return ( | ||
<svg | ||
aria-hidden="true" | ||
focusable="false" | ||
role="img" | ||
viewBox="0 0 24 24" | ||
fill="none" | ||
strokeWidth="2" | ||
stroke="currentColor" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
> | ||
<g strokeWidth="1.5"> | ||
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path> | ||
<path d="M12 10l0 10"></path> | ||
<path d="M12 10l4 4"></path> | ||
<path d="M12 10l-4 4"></path> | ||
<path d="M4 4l16 0"></path> | ||
</g> | ||
</svg> | ||
); | ||
}; | ||
|
||
export const IconLayerToBackwardForward = () => { | ||
return ( | ||
<svg | ||
aria-hidden="true" | ||
focusable="false" | ||
role="img" | ||
viewBox="0 0 24 24" | ||
fill="none" | ||
strokeWidth="2" | ||
stroke="currentColor" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
> | ||
<g strokeWidth="1.5"> | ||
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path> | ||
<path d="M12 5l0 14"></path> | ||
<path d="M16 9l-4 -4"></path> | ||
<path d="M8 9l4 -4"></path> | ||
</g> | ||
</svg> | ||
); | ||
}; |
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 was deleted.
Oops, something went wrong.
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,18 @@ | ||
interface Props { | ||
className?: string; | ||
Icon?: () => JSX.Element; | ||
handlerClick?: () => void; | ||
} | ||
|
||
const LayersBtn = ({ className, Icon, handlerClick }: Props) => { | ||
return ( | ||
<button | ||
onClick={handlerClick} | ||
className={`${className} active:bg-blue-300`} | ||
> | ||
{Icon && <Icon />} | ||
</button> | ||
); | ||
}; | ||
|
||
export default LayersBtn; |
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