Пробелы между тегами

This commit is contained in:
Pavel Gnedov 2023-06-20 05:53:50 +07:00
parent 410559c2e1
commit 8203561dd4

View file

@ -10,8 +10,11 @@ export type Props = {
export const Tag = (props: Props): JSX.Element => { export const Tag = (props: Props): JSX.Element => {
const inlineStyle = getStyleObjectFromString(props.style || ''); const inlineStyle = getStyleObjectFromString(props.style || '');
return ( return (
<span className={Css.tag} style={inlineStyle}> <>
{props.tag} <span> </span>
</span> <span className={Css.tag} style={inlineStyle}>
{props.tag}
</span>
</>
); );
} }