chore: image custom params
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import { Slider } from 'antd';
|
||||
import SealInput from '../seal-input';
|
||||
import SealSelect from '../seal-select';
|
||||
|
||||
const components: {
|
||||
InputNumber: typeof SealInput.Number;
|
||||
Select: typeof SealSelect;
|
||||
Slider: React.ComponentType<typeof Slider>;
|
||||
TextArea: typeof SealInput.TextArea;
|
||||
Input: typeof SealInput.Input;
|
||||
} = {
|
||||
InputNumber: SealInput.Number,
|
||||
Select: SealSelect,
|
||||
Slider: Slider as React.ComponentType<typeof Slider>,
|
||||
TextArea: SealInput.TextArea,
|
||||
Input: SealInput.Input
|
||||
};
|
||||
|
||||
export default components;
|
||||
Reference in New Issue
Block a user