@wordpress/components
Version:
UI components for WordPress.
16 lines • 399 B
TypeScript
export declare type ScrollableDirection = 'x' | 'y' | 'auto';
export declare type Props = {
/**
* Renders a scrollbar for a specific axis when content overflows.
*
* @default 'y'
*/
scrollDirection?: ScrollableDirection;
/**
* Enables (CSS) smooth scrolling.
*
* @default false
*/
smoothScroll?: boolean;
};
//# sourceMappingURL=types.d.ts.map