diff --git a/components/atoms/Select.tsx b/components/atoms/Select.tsx new file mode 100644 index 0000000..2c8d02e --- /dev/null +++ b/components/atoms/Select.tsx @@ -0,0 +1,26 @@ +import React, { ReactNode } from "react"; + +type SelectProps = { + options: { value: string | number; display: ReactNode }[]; + onChange: (value: string) => void; + defaultValue?: string; +}; + +export const Select: React.FC = ({ + options, + onChange, + defaultValue, +}) => { + return ( + + ); +};