UNPKG

@primer/react-brand

Version:

Primer Brand is a GitHub's design system for creating React-based marketing websites and digital experiences.

19 lines (18 loc) 924 B
import { PropsWithChildren } from 'react'; import { BaseProps } from '../component-helpers'; /** * Design tokens */ import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes.css'; import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/timeline/base.css'; export type TimelineProps = { fullWidth?: boolean; } & BaseProps<HTMLUListElement>; export type TimelineItemProps = BaseProps<HTMLLIElement>; /** * Use Timeline to display a list of connected items as a vertical timeline. * @see https://primer.style/brand/components/Timeline */ export declare const Timeline: (({ animate, className, children, fullWidth, ...rest }: PropsWithChildren<TimelineProps>) => import("react/jsx-runtime").JSX.Element) & { Item: ({ className, children, ...rest }: PropsWithChildren<TimelineItemProps>) => import("react/jsx-runtime").JSX.Element; };