UNPKG

wix-style-react

Version:
27 lines 967 B
/** A sidebar content children wrapper to add gradient */ export class SidebarContentWrapper extends React.Component<any, any, any> { static propTypes: { skin: PropTypes.Requireable<string>; containerDataHook: PropTypes.Requireable<string>; containerClasses: PropTypes.Requireable<string>; children: PropTypes.Requireable<PropTypes.ReactNodeLike>; }; static defaultProps: { skin: string; }; constructor(props: any); childrenContainerRef: React.RefObject<any>; childrenContentRef: React.RefObject<any>; state: { isScrollbarDisplayed: boolean; }; childrenResizeObserver: false | ResizeObserver; _handleChildrenResize: () => void; componentDidMount(): void; componentWillUnmount(): void; _shouldAddGradient(): void; render(): React.JSX.Element; } import React from 'react'; import PropTypes from 'prop-types'; //# sourceMappingURL=SidebarContentWrapper.d.ts.map