Every Dash components are given these props. Use with your own props:
type Props = { my_prop: string;} & DashComponentProps; Copy
type Props = { my_prop: string;} & DashComponentProps;
Recommended to use type instead of interface so you can define the order of props with types concatenation.
type
interface
Optional
Unique ID to identify this component in Dash callbacks.
Update props to trigger callbacks.
Every Dash components are given these props. Use with your own props:
Recommended to use
typeinstead ofinterfaceso you can define the order of props with types concatenation.