Skip to content

Commit 3eca141

Browse files
committed
Update BorderRadius type on Image component for consistency
1 parent bc75f25 commit 3eca141

File tree

1 file changed

+2
-1
lines changed
  • packages/snaps-sdk/src/jsx/components

1 file changed

+2
-1
lines changed

packages/snaps-sdk/src/jsx/components/Image.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { createSnapComponent } from '../component';
2+
import type { BorderRadius } from './utils';
23

34
/**
45
* The props of the {@link Image} component.
@@ -12,7 +13,7 @@ import { createSnapComponent } from '../component';
1213
type ImageProps = {
1314
src: string;
1415
alt?: string | undefined;
15-
borderRadius?: 'none' | 'medium' | 'full' | undefined;
16+
borderRadius?: BorderRadius | undefined;
1617
};
1718

1819
const TYPE = 'Image';

0 commit comments

Comments
 (0)