UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

17 lines (16 loc) 1.01 kB
import { Group, GroupProps } from "./Group.js"; import { ForwardRefComponent } from "../../utils/polymorphic.js"; import { ItemProps } from "./Item.js"; import { GroupedListProps, ItemInput, ListProps } from "./List.js"; import { Divider } from "./Divider.js"; //#region src/deprecated/ActionList/index.d.ts /** * @deprecated Use ActionList with composable API instead. See https://primer.style/react/ActionList for more details. */ declare const ActionList: import("react").ForwardRefExoticComponent<ListProps & import("react").RefAttributes<HTMLDivElement>> & { /** Collects related `Items` in an `ActionList`. */Group: typeof Group; /** An actionable or selectable `Item` with an optional icon and description. */ Item: ForwardRefComponent<"div", ItemProps>; /** Visually separates `Item`s or `Group`s in an `ActionList`. */ Divider: typeof Divider; }; //#endregion export { ActionList, type ListProps as ActionListProps, type GroupProps, type GroupedListProps, type ItemInput, type ItemProps };