Skip to content

Commit

Permalink
Remove unused property
Browse files Browse the repository at this point in the history
Related issue: mui/material-ui#44373
  • Loading branch information
ony3000 committed Nov 11, 2024
1 parent 9e55e6e commit 826a213
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions apps/website/docs/apis/61-skeleton.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,6 @@ If `true`, the skeleton appears.
- Type: `boolean`
- Default: `true`

### `overlay`

If `true`, the skeleton's position will change to `absolute` to fill the available space of the nearest parent.
This prop is useful to create a placeholder that has the element's dimensions.

- Type: `boolean`
- Default: `false`

### `slotProps`

The props used for each slot inside.
Expand Down
2 changes: 0 additions & 2 deletions packages/tailwind-joy/src/components/Skeleton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ type SkeletonRootVariants = {
height?: number | string;
level?: TypographyLevel;
loading?: boolean;
overlay?: boolean;
variant?: 'circular' | 'inline' | 'overlay' | 'rectangular' | 'text';
width?: number | string;
} & {
Expand All @@ -209,7 +208,6 @@ function SkeletonRoot<
height,
level,
loading = true,
overlay = false,
style,
variant = 'overlay',
width,
Expand Down

0 comments on commit 826a213

Please sign in to comment.