@pnp/spfx-property-controls
Version:
Reusable property pane controls for SharePoint Framework solutions
23 lines • 802 B
TypeScript
import { IPropertyFieldSwatchColorOption, PropertyFieldSwatchColorPickerStyle } from './IPropertyFieldSwatchColorPicker';
/**
* PropertyFieldSwatchColorPickerHost properties interface
*/
export interface IPropertyFieldSwatchColorPickerHostProps {
label: string;
disabled: boolean;
selectedColor: string;
colors: Array<IPropertyFieldSwatchColorOption>;
showAsCircles: boolean;
columnCount: number;
style: PropertyFieldSwatchColorPickerStyle;
iconName: string;
onColorChanged: (id: string, color: string) => void;
}
/**
* PropertyFieldSwatchColorPickerHost state interface
*/
export interface IPropertyFieldSwatchColorPickerHostState {
errorMessage?: string;
inlinePickerShowing: boolean;
}
//# sourceMappingURL=IPropertyFieldSwatchColorPickerHost.d.ts.map