window.kaolin
    Preparing search index...

    Type Alias DashComponentProps

    Every Dash components are given these props. Use with your own props:

    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 DashComponentProps = {
        id?: string;
        setProps: (props: Record<string, any>) => void;
    }
    Index

    Properties

    Properties

    id?: string

    Unique ID to identify this component in Dash callbacks.

    setProps: (props: Record<string, any>) => void

    Update props to trigger callbacks.