@navikt/ds-react
Version:
React components from the Norwegian Labour and Welfare Administration.
18 lines (17 loc) • 549 B
TypeScript
import React from "react";
import { TimelineComponentTypes } from "./utils/types.internal";
export interface TimelinePinProps extends React.HTMLAttributes<HTMLButtonElement> {
/**
* Date position for the pin.
*/
date: Date;
/**
* Content in Pin Popover.
*/
children?: React.ReactNode;
}
export interface PinType extends React.ForwardRefExoticComponent<TimelinePinProps & React.RefAttributes<HTMLButtonElement>> {
componentType: TimelineComponentTypes;
}
export declare const Pin: PinType;
export default Pin;