mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
18 lines
396 B
TypeScript
18 lines
396 B
TypeScript
import React from 'react';
|
|
|
|
import { cn } from 'lib/utils/cn';
|
|
|
|
const TextSeparator = ({ id, className, ...props }: React.HTMLAttributes<HTMLSpanElement> & { id?: string }) => {
|
|
return (
|
|
<span
|
|
className={ cn('mx-2 lg:mx-3 text-[var(--color-border-divider)]', className) }
|
|
id={ id }
|
|
{ ...props }
|
|
>
|
|
|
|
|
</span>
|
|
);
|
|
};
|
|
|
|
export default React.memo(TextSeparator);
|