mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
10 lines
334 B
TypeScript
10 lines
334 B
TypeScript
import type { HTMLChakraProps } from '@chakra-ui/react';
|
|
import { chakra } from '@chakra-ui/react';
|
|
import React from 'react';
|
|
|
|
const TextSeparator = ({ id, ...props }: HTMLChakraProps<'span'> & { id?: string }) => {
|
|
return <chakra.span mx={ 3 } id={ id } { ...props }>|</chakra.span>;
|
|
};
|
|
|
|
export default React.memo(TextSeparator);
|