Skip to content

Commit

Permalink
change roundedCorner to hasBorderRadius
Browse files Browse the repository at this point in the history
  • Loading branch information
rezrah committed Dec 17, 2024
1 parent 88ab23e commit dd08cea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/react/src/FrostedGlassVFX/FrostedGlassVFX.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export type FrostedGlassVFXProps = BaseProps<HTMLDivElement> &
/**
* Applies rounded corners
*/
roundedCorners?: boolean
hasBorderRadius?: boolean
/**
* Controls the blur amount
*/
Expand All @@ -32,7 +32,7 @@ export type FrostedGlassVFXProps = BaseProps<HTMLDivElement> &
* {@link https://primer.style/brand/components/FrostedGlassVFX/ See usage examples}.
*/
export function FrostedGlassVFX({
roundedCorners = true,
hasBorderRadius = true,
children,
className,
intensity = defaultFrostedGlassVFXIntensity,
Expand All @@ -42,7 +42,7 @@ export function FrostedGlassVFX({
<div
className={clsx(
styles.FrostedGlassVFX,
roundedCorners && styles['FrostedGlassVFX--rounded-corners'],
hasBorderRadius && styles['FrostedGlassVFX--rounded-corners'],
styles[`FrostedGlassVFX--intensity-${intensity}`],
className,
)}
Expand Down

0 comments on commit dd08cea

Please sign in to comment.