import { Tooltip } from 'antd' import { memo } from 'react' import { PermissionDto } from '@api' import { Grid, GridItem } from '@components/Grid' export type PermissionViewProps = { info?: PermissionDto } export const PermissionView = memo(({ info }) => info ? ( Название: {info.name} Описание: {info.description} }> {info.name} ) : ( - )) export default PermissionView