import { CssProps } from 'lupine.web'; export type SelectOptionProps = { option: string; value: string; selected?: boolean; }; export const SelectWithTitle = ( title: string, options: SelectOptionProps[], onOptionChanged: (option: string) => void, size?: number, className = 'input-base', width = '100%' ) => { const css: CssProps = { select: { height: 'auto', overflowY: 'auto', width, }, }; return (
{title}
); };