feat: add some type export
parent
ce767f2e0d
commit
b62c1564ec
|
@ -49,6 +49,7 @@ export { default as Col } from './col';
|
|||
export type { CommentProps } from './comment';
|
||||
export { default as Comment } from './comment';
|
||||
|
||||
export type { ConfigProviderProps } from './config-provider';
|
||||
export { default as ConfigProvider } from './config-provider';
|
||||
|
||||
export type { DatePickerProps } from './date-picker';
|
||||
|
@ -80,6 +81,7 @@ export { default as Form, FormItem, FormItemRest } from './form';
|
|||
|
||||
export { default as Grid } from './grid';
|
||||
|
||||
export type { InputProps, TextAreaProps } from './input';
|
||||
export { default as Input, InputGroup, InputPassword, InputSearch, Textarea } from './input';
|
||||
|
||||
export type { ImageProps } from './image';
|
||||
|
@ -124,8 +126,10 @@ export { default as PageHeader } from './page-header';
|
|||
export type { PaginationProps } from './pagination';
|
||||
export { default as Pagination } from './pagination';
|
||||
|
||||
export type { PopconfirmProps } from './popconfirm';
|
||||
export { default as Popconfirm } from './popconfirm';
|
||||
|
||||
export type { PopoverProps } from './popover';
|
||||
export { default as Popover } from './popover';
|
||||
|
||||
export type { ProgressProps } from './progress';
|
||||
|
@ -155,6 +159,7 @@ export {
|
|||
SkeletonImage,
|
||||
} from './skeleton';
|
||||
|
||||
export type { SliderProps } from './slider';
|
||||
export { default as Slider } from './slider';
|
||||
|
||||
export type { SpaceProps } from './space';
|
||||
|
@ -163,6 +168,7 @@ export { default as Space } from './space';
|
|||
export type { SpinProps } from './spin';
|
||||
export { default as Spin } from './spin';
|
||||
|
||||
export type { StepProps, StepsProps } from './steps';
|
||||
export { default as Steps, Step } from './steps';
|
||||
|
||||
export type { SwitchProps } from './switch';
|
||||
|
|
|
@ -4,7 +4,7 @@ import Group from './Group';
|
|||
import Search from './Search';
|
||||
import TextArea from './TextArea';
|
||||
import Password from './Password';
|
||||
|
||||
export type { InputProps, TextAreaProps } from './inputProps';
|
||||
Input.Group = Group;
|
||||
Input.Search = Search;
|
||||
Input.TextArea = TextArea;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import type { CSSProperties, VNodeTypes, PropType } from 'vue';
|
||||
import type { CSSProperties, VNodeTypes, PropType, ExtractPropTypes } from 'vue';
|
||||
import { computed, ref, defineComponent } from 'vue';
|
||||
import VcSlider from '../vc-slider/src/Slider';
|
||||
import VcRange from '../vc-slider/src/Range';
|
||||
|
@ -70,6 +70,7 @@ export const sliderProps = () => ({
|
|||
trackStyle: { type: [Object, Array] as PropType<CSSProperties[] | CSSProperties> },
|
||||
});
|
||||
|
||||
export type SliderProps = Partial<ExtractPropTypes<ReturnType<typeof sliderProps>>>;
|
||||
export type Visibles = { [index: number]: boolean };
|
||||
|
||||
const Slider = defineComponent({
|
||||
|
|
Loading…
Reference in New Issue