UNPKG

@wordpress/components

Version:
22 lines 584 B
export default Elevation; /** * `Elevation` is a core component that renders shadow, using the library's shadow system. * * The shadow effect is generated using the `value` prop. * * @example * ```jsx * import { Elevation, Surface, Text, View } from `@wordpress/components/ui`; * * function Example() { * return ( * <Surface> * <Text>Code is Poetry</Text> * <Elevation value={ 5 } /> * </Surface> * ); * } * ``` */ declare const Elevation: import("../context").PolymorphicComponent<"div", import("./types").Props>; //# sourceMappingURL=component.d.ts.map