UNPKG

@wordpress/components

Version:
25 lines • 683 B
import type { ZStackProps } from './types'; /** * `ZStack` allows you to stack things along the Z-axis. * * This component is deprecated. Write your own CSS instead. * * @deprecated * * ```jsx * import { __experimentalZStack as ZStack } from '@wordpress/components'; * * function Example() { * return ( * <ZStack offset={ 20 } isLayered> * <ExampleImage /> * <ExampleImage /> * <ExampleImage /> * </ZStack> * ); * } * ``` */ export declare const ZStack: import("../context").WordPressComponent<"div", ZStackProps & Pick<import("react").RefAttributes<any>, "ref">, true>; export default ZStack; //# sourceMappingURL=component.d.ts.map