TypeScript API
Header

Interface: Header

Table of contents

Properties

Properties

endActions

Optional endActions: [HeaderAction] | [HeaderAction, HeaderAction]

By default, a template will not have end header actions. Requirements Up to 2 actions (which are APP_ICON, BACK or TYPE_CUSTOM with an icon) at the end of the header.

Defined in

packages/react-native-carplay/src/interfaces/Header.ts:15 (opens in a new tab)


startAction

Optional startAction: Action<"appIcon" | "back">

By default, a header will not have a start action. Requirements Only one of APP_ICON or BACK is supported as a start header Action.

Defined in

packages/react-native-carplay/src/interfaces/Header.ts:10 (opens in a new tab)


title

title: string

Defined in

packages/react-native-carplay/src/interfaces/Header.ts:4 (opens in a new tab)