mirror of
https://github.com/pheralb/svgl.git
synced 2025-02-11 09:40:31 +08:00
23 lines
377 B
JavaScript
23 lines
377 B
JavaScript
import React from "react";
|
|
import { Flex } from "@chakra-ui/react";
|
|
|
|
const SideItem = (props) => {
|
|
const { icon, children, ...rest } = props;
|
|
return (
|
|
<Flex
|
|
align="center"
|
|
px="4"
|
|
mx="2"
|
|
rounded="md"
|
|
py="3"
|
|
role="group"
|
|
transition=".15s ease"
|
|
{...rest}
|
|
>
|
|
{children}
|
|
</Flex>
|
|
);
|
|
};
|
|
|
|
export default SideItem;
|