Spaces:
Configuration error
Configuration error
Download src/components/icons/IconBox.tsx from hlsitech/hlsitechbot: direct link, hf CLI and curl.
- Browser
- Download file 386 Bytes
-
https://huggingface.co/spaces/hlsitech/hlsitechbot/resolve/main/src/components/icons/IconBox.tsx
- Command line
-
hf download hf://spaces/hlsitech/hlsitechbot/src/components/icons/IconBox.tsx
-
curl -L -o IconBox.tsx https://huggingface.co/spaces/hlsitech/hlsitechbot/resolve/main/src/components/icons/IconBox.tsx
386 Bytes
| 'use client' | |
| import { Flex } from '@chakra-ui/react'; | |
| export default function IconBox(props: { icon: JSX.Element | string; [x: string]: any }) { | |
| const { icon, ...rest } = props; | |
| return ( | |
| <Flex | |
| alignItems={'center'} | |
| justifyContent={'center'} | |
| borderRadius={'50%'} | |
| {...rest} | |
| > | |
| {icon} | |
| </Flex> | |
| ); | |
| } | |