UNPKG

@oslokommune/punkt-react

Version:

React komponentbibliotek til Punkt, et designsystem laget av Oslo Origo

22 lines (21 loc) 594 B
import { ReactNode } from 'react'; export type TStepStatus = 'completed' | 'incomplete' | 'current'; export interface IPktStep { /** * Step content. Can be a string, a React component or an element. */ children?: ReactNode; /** * Additional class names */ className?: string; /** * Step status. Can be 'completed', 'incomplete' or 'current' */ status: TStepStatus; /** * Title of the step */ title: string; } export declare const PktStep: ({ children, className, status, title }: IPktStep) => import("react").JSX.Element;