/** * Map of layout names to CSS classes */ export type LAYOUT_CLASS_MAP = number; export namespace LAYOUT_CLASS_MAP { const oneRow: string; const oneColumn: string; const twoColumn: string; } export const DEFAULT_LAYOUT: "oneRow"; export const LAYOUTS: string[]; export default SectionContent; /** * A content panel wrapper that supports: * * - lay out panels (based on layout name and panel position) * - change element tag (like `section` instead of `div`) * - scroll root element (overflow of panel content is not managed) * - debug layout (via color-coded panels) * * @example * // features: lay out panels, change tag, allow content scroll, color-coded * *
Thing 1
*
Thing 2
*
Thing 3
*
*/ declare function SectionContent({ className, children, layoutName, shouldScroll, shouldDebugLayout, tagName, }: { className: any; children: any; layoutName: any; shouldScroll: any; shouldDebugLayout: any; tagName: any; }): import("react/jsx-runtime").JSX.Element; declare namespace SectionContent { namespace propTypes { const className: PropTypes.Requireable; const children: PropTypes.Validator>; const layoutName: PropTypes.Validator; const shouldScroll: PropTypes.Requireable; const shouldDebugLayout: PropTypes.Requireable; const tagName: PropTypes.Requireable; } namespace defaultProps { const className_1: string; export { className_1 as className }; const shouldScroll_1: boolean; export { shouldScroll_1 as shouldScroll }; const shouldDebugLayout_1: boolean; export { shouldDebugLayout_1 as shouldDebugLayout }; const tagName_1: string; export { tagName_1 as tagName }; } } import PropTypes from "prop-types";