@tolokoban/ui
Version:
React components with theme
17 lines • 740 B
TypeScript
import React from "react";
import { Children, OpaqueColorName, ViewWithValue } from "../../types.js";
import { CommonProps } from "../../theme";
export type ViewOptionsMultipleProps<T> = ViewWithValue<T[]> & CommonProps & {
className?: string;
/** Optional label to display above the options. */
label?: string;
color?: OpaqueColorName;
colorSelection?: OpaqueColorName;
children: Array<React.ReactElement<ViewOptionsMultipleItemProps<T>>>;
};
export type ViewOptionsMultipleItemProps<T> = {
key: T;
children: Children;
};
export declare function ViewOptionsMultiple<T extends string>(props: ViewOptionsMultipleProps<T>): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=OptionsMultiple.d.ts.map