import { createContext } from 'react';
import type { MilestoneVariant } from './Milestone';
export interface MilestoneListContextValue {
/**
* whether milestones are on a card (`card`) or flat.
*/
variant?: MilestoneVariant;
}
/**
* What a `MilestoneList` passes down to its `Milestone`s, which can
* override it.
*/
export const MilestoneListContext = createContext<MilestoneListContextValue>(
{},
);
Milestone
Net-new, in two parts, in their own family so "timeline" keeps one meaning (the log).
Net-new componentOpen in Storybook