@wordpress/global-styles-ui
Version:
Global Styles UI components for WordPress.
21 lines • 857 B
TypeScript
export declare const BACKGROUND_BLOCK_DEFAULT_VALUES: {
backgroundSize: string;
backgroundPosition: string;
};
/**
* Prepares a style object from the border panel for storing in Global Styles.
*
* @param newStyle The style object as the border panel produced it.
* @return The style object with its border ready to store.
*/
export declare function normalizeBorderStyle(newStyle: any): any;
interface ScreenBlockProps {
name: string;
variation?: string;
selectedViewport?: string;
showResponsiveStateControls?: boolean;
showBlockStateControls?: boolean;
}
declare function ScreenBlock({ name, variation, selectedViewport: controlledSelectedViewport, showResponsiveStateControls, showBlockStateControls, }: ScreenBlockProps): import("react").JSX.Element;
export default ScreenBlock;
//# sourceMappingURL=screen-block.d.ts.map