@primer/react
Version:
An implementation of GitHub's Primer Design System using React
20 lines (19 loc) • 1.29 kB
TypeScript
import React from 'react';
import { SxProp } from '..';
import { PageLayoutContentProps, PageLayoutFooterProps, PageLayoutHeaderProps, PageLayoutPaneProps } from '../PageLayout';
export type SplitPageLayoutProps = SxProp;
export declare const Root: React.FC<React.PropsWithChildren<SplitPageLayoutProps>>;
export type SplitPageLayoutHeaderProps = PageLayoutHeaderProps;
export declare const Header: React.FC<React.PropsWithChildren<SplitPageLayoutHeaderProps>>;
export type SplitPageLayoutContentProps = PageLayoutContentProps;
export declare const Content: React.FC<React.PropsWithChildren<SplitPageLayoutContentProps>>;
export type SplitPageLayoutPaneProps = PageLayoutPaneProps;
export declare const Pane: React.FC<React.PropsWithChildren<SplitPageLayoutPaneProps>>;
export type SplitPageLayoutFooterProps = PageLayoutFooterProps;
export declare const Footer: React.FC<React.PropsWithChildren<SplitPageLayoutFooterProps>>;
export declare const SplitPageLayout: React.FC<React.PropsWithChildren<SxProp>> & {
Header: React.FC<React.PropsWithChildren<PageLayoutHeaderProps>>;
Content: React.FC<React.PropsWithChildren<PageLayoutContentProps>>;
Pane: React.FC<React.PropsWithChildren<PageLayoutPaneProps>>;
Footer: React.FC<React.PropsWithChildren<PageLayoutFooterProps>>;
};