shelving
Version:
Toolkit for using data in JavaScript.
11 lines (10 loc) • 532 B
TypeScript
import type { ReactElement, ReactNode } from "react";
import { type ColorVariants } from "../style/Color.js";
import { type GapVariants } from "../style/Gap.js";
import { type SpacingVariants } from "../style/Spacing.js";
import { type TypographyVariants } from "../style/Typography.js";
export interface ListProps extends ColorVariants, GapVariants, SpacingVariants, TypographyVariants {
children: ReactNode[];
ordered?: boolean;
}
export declare function List({ children, ordered, ...variants }: ListProps): ReactElement;