import React from 'react'; import type {FlexProps} from '@gravity-ui/uikit'; import {Flex, Label} from '@gravity-ui/uikit'; interface TagsProps { tags: React.ReactNode[]; className?: string; gap?: FlexProps['gap']; } export const Tags = ({tags, className = '', gap = 1}: TagsProps) => { return ( {tags && tags.map((tag, tagIndex) => ( ))} ); };