@baseplate-dev/ui-components
Version:
Shared UI component library
23 lines • 903 B
TypeScript
import type React from 'react';
export interface SidebarLayoutProps {
className?: string;
children: React.ReactNode;
}
/**
* Displays a 2 column layout with a sidebar and content.
*/
declare function SidebarLayout({ className, children, }: SidebarLayoutProps): React.ReactElement;
interface SidebarLayoutSidebarProps {
className?: string;
children: React.ReactNode;
width?: 'sm' | 'md' | 'lg' | 'auto';
noPadding?: boolean;
}
declare function SidebarLayoutSidebar({ className, children, width, noPadding, }: SidebarLayoutSidebarProps): React.ReactElement;
interface SidebarLayoutContentProps {
className?: string;
children: React.ReactNode;
}
declare function SidebarLayoutContent({ className, children, }: SidebarLayoutContentProps): React.ReactElement;
export { SidebarLayout, SidebarLayoutContent, SidebarLayoutSidebar };
//# sourceMappingURL=sidebar-layout.d.ts.map