@wordpress/components
Version:
UI components for WordPress.
26 lines • 757 B
TypeScript
export type AnglePickerControlProps = {
/**
* Start opting into the new margin-free styles that will become the default
* in a future version.
*
* @default false
*/
__nextHasNoMarginBottom?: boolean;
/**
* Label to use for the angle picker.
*
* @default __( 'Angle' )
*/
label?: string;
/**
* A function that receives the new value of the input.
*/
onChange: (value: number) => void;
/**
* The current value of the input. The value represents an angle in degrees
* and should be a value between 0 and 360.
*/
value: number | string;
};
export type AngleCircleProps = Pick<AnglePickerControlProps, 'value' | 'onChange'>;
//# sourceMappingURL=types.d.ts.map