Initial commit
This commit is contained in:
34
src/components/Icons/IconBox.js
Normal file
34
src/components/Icons/IconBox.js
Normal file
@@ -0,0 +1,34 @@
|
||||
/*!
|
||||
|
||||
=========================================================
|
||||
* Argon Dashboard Chakra PRO - v1.0.0
|
||||
=========================================================
|
||||
|
||||
* Product Page: https://www.creative-tim.com/product/argon-dashboard-chakra-pro
|
||||
* Copyright 2022 Creative Tim (https://www.creative-tim.com/)
|
||||
|
||||
* Designed and Coded by Simmmple & Creative Tim
|
||||
|
||||
=========================================================
|
||||
|
||||
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
*/
|
||||
|
||||
import React from "react";
|
||||
import { Flex } from "@chakra-ui/react";
|
||||
|
||||
export default function IconBox(props) {
|
||||
const { children, ...rest } = props;
|
||||
|
||||
return (
|
||||
<Flex
|
||||
alignItems={"center"}
|
||||
justifyContent={"center"}
|
||||
borderRadius={"8px"}
|
||||
{...rest}
|
||||
>
|
||||
{children}
|
||||
</Flex>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user