UNPKG

@postenbring/hedwig-react

Version:

React components for [Hedwig Design System](https://github.com/bring/hedwig-design-system).

40 lines 1.21 kB
import { type HTMLAttributes } from "react"; export interface ListProps extends HTMLAttributes<HTMLOListElement | HTMLUListElement> { /** * Sets the size of the items (font) * * @default "medium" */ size?: "default" | "small" | "technical" | "medium" | "large"; } /** * An unordered list of simple items, often text. You can nest other lists inside this component. * * If you have other list needs, you can build your own using the semantic `ul` and `ol` tags. * * @example * ```tsx * <UnorderedList> * <li>Item 1</li> * <li>Item 2</li> * <li>Item 3</li> * </UnorderedList> * ``` */ export declare const UnorderedList: import("react").ForwardRefExoticComponent<ListProps & import("react").RefAttributes<HTMLUListElement>>; /** * An ordered list of simple items * * If you have other list needs, you can build your own using the semantic `ul` and `ol` tags. * * @example * ```tsx * <OrderedList> * <li>Item 1</li> * <li>Item 2</li> * <li>Item 3</li> * </OrderedList> * ``` */ export declare const OrderedList: import("react").ForwardRefExoticComponent<ListProps & import("react").RefAttributes<HTMLOListElement>>; //# sourceMappingURL=list.d.ts.map