Dash v3.0.0rc2
Pre-release
Pre-release
Added
- #3152 Custom Python prop typing for component library.
- Added
-t,--custom-typing-moduleargument todash-generate-componentsCLI, default todash_prop_typingand can contains definitions in variables:custom_imports: dict[ComponentName, list[str]]import statement to be copied at the top of the component class definition.custom_props: dict[ComponentName, dict[PropName, function]]for custom props. The function signature is:def generate_type(type_info, component_name, prop_name) -> str
- Added
- #3170 Add
window.dash_component_api.ExternalWrapperto render Dash components that are not part of the layout tree.