style: fix component naming

This commit is contained in:
AkaraChen 2024-12-04 16:16:00 +08:00
parent 90b407ecc8
commit 539050c56b
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ export const SkeletonRow = twc.div`flex items-center gap-2`
export const SkeletonRectangle = twc.div`h-2 rounded-sm opacity-20 bg-text-tertiary my-1`
export const SkeletonCircle: FC = () =>
export const SkeletonPoint: FC = () =>
<div className='text-text-quaternary text-xs font-medium'>·</div>
/** Usage

View File

@ -57,7 +57,7 @@ import Divider from '@/app/components/base/divider'
import { getNotionInfo, getWebsiteInfo, useCreateDocument, useCreateFirstDocument, useFetchDefaultProcessRule, useFetchFileIndexingEstimateForFile, useFetchFileIndexingEstimateForNotion, useFetchFileIndexingEstimateForWeb } from '@/service/knowledge/use-create-dataset'
import Loading from '@/app/components/base/loading'
import Badge from '@/app/components/base/badge'
import { SkeletonCircle, SkeletonContanier, SkeletonRectangle, SkeletonRow } from '@/app/components/base/skeleton'
import { SkeletonContanier, SkeletonPoint, SkeletonRectangle, SkeletonRow } from '@/app/components/base/skeleton'
const TextLabel: FC<PropsWithChildren> = (props) => {
return <label className='text-text-secondary text-xs font-semibold leading-none'>{props.children}</label>
@ -967,7 +967,7 @@ const StepTwo = ({
<SkeletonContanier key={i}>
<SkeletonRow>
<SkeletonRectangle className="w-20" />
<SkeletonCircle />
<SkeletonPoint />
<SkeletonRectangle className="w-24" />
</SkeletonRow>
<SkeletonRectangle className="w-full" />