@wix/design-system
Version:
@wix/design-system
32 lines • 1.33 kB
TypeScript
import React, { PureComponent } from 'react';
import Header from './components/Header';
import Footer from './components/Footer';
import Divider from './components/Divider';
import { SidePanelProps } from './SidePanel.types';
declare class SidePanel extends PureComponent<SidePanelProps> {
static displayName: string;
static contextType: React.Context<{
newBrandingClass?: string;
mobile?: boolean;
contextClassName?: string;
}>;
static Header: typeof Header;
static Content: ({ children, scrollElementRef, className, noPadding, stretchVertically, }: import("./components/Content").ContentProps) => React.JSX.Element;
static Footer: typeof Footer;
static Divider: typeof Divider;
static Section: {
({ title, titleVisible, suffix, children, ariaLabel, dataHook, as, "aria-describedby": ariaDescribedBy, id, }: import("./components/Section").SectionProps): React.JSX.Element;
displayName: string;
};
static Field: {
({ noPadding, divider, dataHook, children, }: import("./components/Field").FieldProps): React.JSX.Element;
displayName: string;
};
static defaultProps: {
width: string;
height: string;
};
render(): React.JSX.Element;
}
export default SidePanel;
//# sourceMappingURL=SidePanel.d.ts.map