import type { ExtractPropTypes } from 'vue'; import { defineComponent } from 'vue'; export const optionProps = { value: String, disabled: Boolean, label: [String, Number, Function], }; export type OptionProps = Partial>; export default defineComponent({ name: 'Option', props: optionProps, render(_props: any, { slots }: any) { return slots.default?.(); }, });