@wordpress/components
Version:
UI components for WordPress.
24 lines • 1.04 kB
TypeScript
/**
* @param {Object} props
* @param {boolean} [props.border]
* @param {boolean} [props.borderBottom]
* @param {boolean} [props.borderLeft]
* @param {boolean} [props.borderRight]
* @param {boolean} [props.borderTop]
*/
export function getBorders({ border, borderBottom, borderLeft, borderRight, borderTop, }: {
border: boolean | undefined;
borderBottom: boolean | undefined;
borderLeft: boolean | undefined;
borderRight: boolean | undefined;
borderTop: boolean | undefined;
}): string;
export const Surface: string;
export const background: string;
export const primary: string;
export const secondary: string;
export const tertiary: string;
export function getDotted(surfaceBackgroundSize: string, surfaceBackgroundSizeDotted: string): string;
export function getGrid(surfaceBackgroundSize: string): string;
export function getVariant(variant: 'dotted' | 'grid' | 'primary' | 'secondary' | 'tertiary', surfaceBackgroundSize: string, surfaceBackgroundSizeDotted: string): string;
//# sourceMappingURL=styles.d.ts.map