UNPKG

@wordpress/components

Version:
19 lines (18 loc) 515 B
export default Scrollable; /** * `Scrollable` is a layout component that content in a scrollable container. * * @example * ```jsx * import { Scrollable, View } from `@wordpress/components/ui`; * function Example() { * return ( * <Scrollable style={ { maxHeight: 200 } }> * <View style={ { height: 500 } }>...</View> * </Scrollable> * ); * } * ``` */ declare const Scrollable: import("../context").PolymorphicComponent<"div", import("./types").Props>; //# sourceMappingURL=component.d.ts.map