@primer/components
Version:
Primer react components
25 lines (24 loc) • 1.59 kB
TypeScript
/// <reference types="hoist-non-react-statics" />
import * as History from 'history';
import { SystemBorderProps, SystemCommonProps, SystemTypographyProps } from './constants';
import { SxProp } from './sx';
import { ComponentProps } from './utils/types';
declare const Header: import("styled-components").StyledComponent<"div", any, SystemBorderProps & SystemCommonProps & SxProp, never>;
declare const HeaderItem: import("styled-components").StyledComponent<"div", any, {
full?: boolean | undefined;
} & SystemCommonProps & SxProp, never>;
declare const HeaderLink: import("styled-components").StyledComponent<"a", any, {
to?: History.LocationDescriptor<unknown> | undefined;
} & SystemCommonProps & SxProp & SystemTypographyProps & SystemBorderProps, never>;
export declare type HeaderProps = ComponentProps<typeof Header>;
export declare type HeaderLinkProps = ComponentProps<typeof HeaderLink>;
export declare type HeaderItemProps = ComponentProps<typeof HeaderItem>;
declare const _default: string & import("styled-components").StyledComponentBase<"div", any, SystemBorderProps & SystemCommonProps & SxProp, never> & import("hoist-non-react-statics").NonReactStatics<never, {}> & {
Link: import("styled-components").StyledComponent<"a", any, {
to?: History.LocationDescriptor<unknown> | undefined;
} & SystemCommonProps & SxProp & SystemTypographyProps & SystemBorderProps, never>;
Item: import("styled-components").StyledComponent<"div", any, {
full?: boolean | undefined;
} & SystemCommonProps & SxProp, never>;
};
export default _default;