@shopify/ui-extensions
Advanced tools
Comparing version 0.0.0-unstable-20230718152544 to 0.0.0-unstable-20230718194001
@@ -0,1 +1,2 @@ | ||
import { IconName } from './IconName'; | ||
export interface IconProps { | ||
@@ -16,4 +17,5 @@ accessibilityLabel?: string; | ||
| 'fill'; | ||
name: string; | ||
name: IconName; | ||
} | ||
export type { IconName }; | ||
export declare const Icon: "Icon" & { | ||
@@ -20,0 +22,0 @@ readonly type?: "Icon" | undefined; |
{ | ||
"name": "@shopify/ui-extensions", | ||
"version": "0.0.0-unstable-20230718152544", | ||
"version": "0.0.0-unstable-20230718194001", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "docs:admin": "sh ./docs/surfaces/admin/build-docs.sh \"admin\"", |
@@ -17,2 +17,7 @@ import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs'; | ||
}, | ||
{ | ||
title: 'IconName', | ||
description: 'List of available Icons for the Icon component', | ||
type: 'IconName', | ||
}, | ||
], | ||
@@ -19,0 +24,0 @@ category: 'Components', |
import {createRemoteComponent} from '@remote-ui/core'; | ||
import {IconName} from './IconName'; | ||
@@ -39,5 +40,6 @@ export interface IconProps { | ||
*/ | ||
name: string; | ||
name: IconName; | ||
} | ||
export type {IconName}; | ||
export const Icon = createRemoteComponent<'Icon', IconProps>('Icon'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1608411
937
23569