UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

20 lines (19 loc) 1.13 kB
import { PageLayoutContentProps, PageLayoutFooterProps, PageLayoutHeaderProps, PageLayoutPaneProps, PageLayoutSidebarProps } from "../PageLayout/PageLayout.js"; import React from "react"; //#region src/SplitPageLayout/SplitPageLayout.d.ts type SplitPageLayoutProps = { className?: string; }; type SplitPageLayoutHeaderProps = PageLayoutHeaderProps; type SplitPageLayoutContentProps = PageLayoutContentProps; type SplitPageLayoutPaneProps = PageLayoutPaneProps; type SplitPageLayoutFooterProps = PageLayoutFooterProps; declare const SplitPageLayout: React.FC<React.PropsWithChildren<SplitPageLayoutProps>> & { Header: React.FC<React.PropsWithChildren<PageLayoutHeaderProps>>; Content: React.FC<React.PropsWithChildren<PageLayoutContentProps>>; Pane: React.FC<React.PropsWithChildren<PageLayoutPaneProps>>; Sidebar: React.FC<React.PropsWithChildren<PageLayoutSidebarProps>>; Footer: React.FC<React.PropsWithChildren<PageLayoutFooterProps>>; }; //#endregion export { SplitPageLayout, SplitPageLayoutContentProps, SplitPageLayoutFooterProps, SplitPageLayoutHeaderProps, SplitPageLayoutPaneProps, SplitPageLayoutProps };