tw-table
Version:
table designed with tailwind and tanstack-table.
12 lines (11 loc) • 346 B
TypeScript
import React, { SelectHTMLAttributes } from 'react';
interface Props extends SelectHTMLAttributes<HTMLSelectElement> {
id: string;
label?: string;
options: {
value: string;
label: string;
}[];
}
declare const Select: ({ label, id, options, ...rest }: Props) => React.JSX.Element;
export default Select;