react-email-builder
Version:
A simple React drag and drop email builder.
15 lines (14 loc) • 436 B
TypeScript
import React from 'react';
import type { Placement } from '@floating-ui/dom';
export interface Props {
value?: string;
onChange: (value?: string) => void;
options: {
value: string;
label: string;
}[];
placement?: Placement;
placeholder?: string;
clearable?: boolean;
}
export declare function Select({ options, value, placement, placeholder, clearable, onChange }: Props): React.JSX.Element;