Component Props
Set various parameters for components through the props configuration item to adjust component behavior and appearance.
Generate a Date Component That Can Select Both Date and Time
Set props to generate a component that supports both date and time selection. The following example shows how to configure a DatePicker component to select date and time.
Note
The props parameters supported by components can be found in the corresponding component documentation or by viewing the component source code.
Component configuration items can be queried in the corresponding UI framework documentation. The following are links to UI framework documentation:
- Element Plus Documentation
- Ant Design Vue Documentation
- Naive UI Documentation
- Arco Design Documentation
- TDesign Documentation
Generate a Disabled input Component
Set the component's disabled state through props to create a non-editable input component. The following example shows how to disable an input component.
Modify Component Configuration
Modify the disabled state of the input2 component through the API
Global Configuration of Component Parameter Defaults
Set default parameters for components through global configuration to ensure all generated components follow a unified configuration. The following example shows how to set default values for all components.


