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

@ -3,7 +3,7 @@ import classNames from '@/utils/classnames'
type SkeletonProps = ComponentProps<'div'>
export const SkeletonContainer: FC<SkeletonProps> = (props) => {
export const SkeletonContanier: FC<SkeletonProps> = (props) => {
const { className, children, ...rest } = props
return (
<div className={classNames('flex flex-col gap-1', className)} {...rest}>
@ -30,14 +30,11 @@ export const SkeletonRectangle: FC<SkeletonProps> = (props) => {
)
}
export const SkeletonPoint: FC<SkeletonProps> = (props) => {
const { className, ...rest } = props
return (
<div className={classNames('text-text-quaternary text-xs font-medium', className)} {...rest}>·</div>
)
}
export const SkeletonPoint: FC = () =>
<div className='text-text-quaternary text-xs font-medium'>·</div>
/** Usage
* <SkeletonContainer>
* <SkeletonContanier>
* <SkeletonRow>
* <SkeletonRectangle className="w-96" />
* <SkeletonPoint />