We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc75f25 commit 3eca141Copy full SHA for 3eca141
packages/snaps-sdk/src/jsx/components/Image.ts
@@ -1,4 +1,5 @@
1
import { createSnapComponent } from '../component';
2
+import type { BorderRadius } from './utils';
3
4
/**
5
* The props of the {@link Image} component.
@@ -12,7 +13,7 @@ import { createSnapComponent } from '../component';
12
13
type ImageProps = {
14
src: string;
15
alt?: string | undefined;
- borderRadius?: 'none' | 'medium' | 'full' | undefined;
16
+ borderRadius?: BorderRadius | undefined;
17
};
18
19
const TYPE = 'Image';
0 commit comments