Type alias TConnectionProps

TConnectionProps: {
    direction?: string;
    icon?: string;
    isEntering?: boolean;
    toMapName?: string;
    type: any;
}

Type declaration

  • Optional direction?: string

    Direction "up" or "down" or null if on the same floor

  • Optional icon?: string

    Icon to use for the connection, can be wrapped in SVG and for styling

    @example: <svg height="16" viewBox="0 0 36 36" width="16"

    ${icon}
  • Optional isEntering?: boolean

    Whether the user is entering or exiting the connection

  • Optional toMapName?: string

    Depending on the direction of the journey, the map name of the destination map or where a connection enters the map

  • type: any

    Connection type, "escalator", "elevator", etc