mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
16 lines
435 B
TypeScript
16 lines
435 B
TypeScript
import type {ReactElement} from 'react';
|
|
|
|
import type {ControlProps} from 'sentry/components/forms/controls/selectControl';
|
|
import SelectControl from 'sentry/components/forms/controls/selectControl';
|
|
|
|
export type Option = {
|
|
label: string | ReactElement;
|
|
value: string;
|
|
};
|
|
|
|
function SelectControlWithProps(props: ControlProps & {options: Option[]}) {
|
|
return <SelectControl {...props} />;
|
|
}
|
|
|
|
export default SelectControlWithProps;
|