import React, { FC, memo } from 'react'; import { cn } from '../../util/bem'; import { TextColorType } from '../../util/global-props'; import './span.component.scss'; export type SpanPropsType = { className?: string; children: React.ReactNode; color?: TextColorType; weight?: 'bold' | 'normal'; uppercase?: boolean; flex?: number; role?: string; underline?: boolean; tabularNumbers?: boolean; } const className = cn('span'); export const Span: FC = memo((props) => (
{ props.children }
));