@primer/react-brand
Version:
Primer Brand is a GitHub's design system for creating React-based marketing websites and digital experiences.
17 lines (16 loc) • 1.37 kB
TypeScript
import React, { PropsWithChildren } from 'react';
import { LinkProps } from '../Link';
import { HeadingProps } from '../Heading';
import type { BaseProps } from '../component-helpers';
export type SectionIntroStackedProps = React.HTMLAttributes<HTMLElement> & BaseProps<HTMLElement> & PropsWithChildren;
type SectionIntroStackedHeadingProps = BaseProps<HTMLHeadingElement> & HeadingProps;
type SectionIntroStackedLinkProps = LinkProps & BaseProps<HTMLAnchorElement>;
type SectionIntroStackedItemsProps = BaseProps<HTMLUListElement>;
export type SectionIntroStackedItemProps = BaseProps<HTMLLIElement>;
export declare const SectionIntroStacked: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<SectionIntroStackedProps>, "ref"> & React.RefAttributes<HTMLElement>> & {
Heading: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<SectionIntroStackedHeadingProps>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
Link: React.ForwardRefExoticComponent<Omit<SectionIntroStackedLinkProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
Items: ({ animate, className, children, ...rest }: PropsWithChildren<SectionIntroStackedItemsProps>) => import("react/jsx-runtime").JSX.Element;
Item: ({ className, children, ...rest }: PropsWithChildren<SectionIntroStackedItemProps>) => import("react/jsx-runtime").JSX.Element;
};
export {};