MSP-3107 create ListItem

This commit is contained in:
veselovnk committed 2024-04-17 16:49:21 +03:00
1 parent bef6fa19e3
commit f5e0251286
2 files changed
+22

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
import { List, Tooltip } from 'antd'
import { FC } from 'react'
import { ListItemProps } from '@widgets/ListItem/list-item.type.ts'
const ListItem: FC<ListItemProps> = ({ item }) => {
return (
<List.Item>
<Tooltip mouseEnterDelay={1} title={item.name}>
<List.Item.Meta title={item.name} />
</Tooltip>
</List.Item>
)
}
export default ListItem
+5
View File
@@ -0,0 +1,5 @@
import { ColumnItem } from 'isp-ui-kit/dist/Layout/Column/column.type'
export interface ListItemProps {
item: ColumnItem<any>
}