Skip to content

Commit

Permalink
feat: deprecate margin props
Browse files Browse the repository at this point in the history
  • Loading branch information
keellyp committed Oct 30, 2024
1 parent d4c125f commit c7c7ee6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/components/designSystem/Skeleton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,17 @@ interface SkeletonConnectorProps {
width?: never
height?: never
className?: string
/**
* @deprecated Use `className` and TailwindCSS instead
*/
marginRight?: number | string
/**
* @deprecated Use `className` and TailwindCSS instead
*/
marginBottom?: number | string
/**
* @deprecated Use `className` and TailwindCSS instead
*/
marginTop?: number | string
color?: keyof typeof SkeletonColorEnum
}
Expand All @@ -37,8 +46,17 @@ interface SkeletonGenericProps {
height?: number | string
size?: never
className?: string
/**
* @deprecated Use `className` and TailwindCSS instead
*/
marginRight?: number | string
/**
* @deprecated Use `className` and TailwindCSS instead
*/
marginBottom?: number | string
/**
* @deprecated Use `className` and TailwindCSS instead
*/
marginTop?: number | string
color?: keyof typeof SkeletonColorEnum
}
Expand Down

0 comments on commit c7c7ee6

Please sign in to comment.