Spaces:
Configuration error
Configuration error
Download src/components/separator/Separator.tsx from hlsitech/hlsitechbot: direct link, hf CLI and curl.
- Browser
- Download file 589 Bytes
-
https://huggingface.co/spaces/hlsitech/hlsitechbot/resolve/main/src/components/separator/Separator.tsx
- Command line
-
hf download hf://spaces/hlsitech/hlsitechbot/src/components/separator/Separator.tsx
-
curl -L -o Separator.tsx https://huggingface.co/spaces/hlsitech/hlsitechbot/resolve/main/src/components/separator/Separator.tsx
589 Bytes
| 'use client'; | |
| import { Flex, useColorModeValue } from '@chakra-ui/react'; | |
| const HSeparator = (props: { variant?: string; [x: string]: any }) => { | |
| const textColor = useColorModeValue('gray.200', 'whiteAlpha.300'); | |
| const { variant, ...rest } = props; | |
| return <Flex h="1px" w="100%" bg={textColor} {...rest} />; | |
| }; | |
| const VSeparator = (props: { variant?: string; [x: string]: any }) => { | |
| const textColor = useColorModeValue('gray.200', 'whiteAlpha.300'); | |
| const { variant, ...rest } = props; | |
| return <Flex w="1px" bg={textColor} {...rest} />; | |
| }; | |
| export { HSeparator, VSeparator }; | |