Revert "Feat/parent child retrieval" (#12095)

This commit is contained in:
-LAN- 2024-12-25 20:55:44 +08:00 • committed by GitHub
commit db2aa83a7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
216 changed files with 3116 additions and 9066 deletions

View file

@ -1,22 +0,0 @@
import React, { type FC } from 'react'
import { RiCheckLine } from '@remixicon/react'
import type { Item } from '@/app/components/base/select'
type IStatusItemProps = {
item: Item
selected: boolean
}
const StatusItem: FC<IStatusItemProps> = ({
item,
selected,
}) => {
return (
<div className='flex items-center justify-between py-1.5 px-2'>
<span className='system-md-regular'>{item.name}</span>
{selected && <RiCheckLine className='w-4 h-4 text-text-accent' />}
</div>
)
}
export default React.memo(StatusItem)