/// import type { IThumbnail } from '../../propertyPaneThumbnailPickerShared/PropertyPaneThumbnailPickerTypes'; /** * PropertyPaneIconPicker component props * * @beta */ export interface IPropertyPaneIconPickerProps { /** * Callback function for when an icon is selected. */ onItemChanged?: (iconName: string) => void; /** * Thumbnail metadata of the currently selected icon. */ thumbnail?: IThumbnail; /** * Whether to render the icon preview with full width or the default fixed aspect ratio. */ previewFullWidth?: boolean; /** * Whether to render the icon with a gray background. */ previewGrayBackground?: boolean; /** * Optional CSS class name to apply to the icon preview wrapper. */ thumbnailRendererWrapperClassName?: string; /** * Optional CSS class name to apply to the icon preview. */ thumbnailRendererIconClassName?: string; /** * Optional name of consuming component for telemetry purposes. */ callerName?: string; /** * The icon picker allows selection of Fabric MDL2 icons. This optional parameter allows the caller to override * this with a custom selection of icons. */ customIconSet?: Map; /** * When invoking with a custom icon set, this is the name of the currently selected icon. */ customSelectedIconName?: string; /** * Callback function for when the Delete button is clicked. */ onItemDeleted?: () => void; /** * @internal * Extended icons to inject into icon picker. These will be appended to the default fabric icons that appear. */ _extendedIcons?: Map; /** * If specified, disables the action buttons so icons cannot be selected or changed. */ disabled?: boolean; } //# sourceMappingURL=IPropertyPaneIconPicker.d.ts.map