App

No TSDoc on this export yet.

Source
type App = {
  id?: string
  icon?: string
  name: string
  light?: boolean
  /** Draws under the status stack, edge to edge, and pads its own top; the shell adds no band. */
  edge?: boolean
  /** On the cover, keeps the right column free for the status stack, which stays whole; the shell adds no band. */
  rail?: boolean
  view: ComponentType<{ os: Os }>
  /** Invented data behind a static screen: the tile shows a dot and the app a 'Mockup' pill. */
  mock?: boolean
  /** Names of the apps inside, when this tile is a folder rather than an app. */
  folder?: string[]
}

API reference

MemberTypeDescription
id?string
icon?string
namestring
light?boolean
edge?booleanDraws under the status stack, edge to edge, and pads its own top; the shell adds no band.
rail?booleanOn the cover, keeps the right column free for the status stack, which stays whole; the shell adds no band.
viewComponentType<{ os: Os }>
mock?booleanInvented data behind a static screen: the tile shows a dot and the app a 'Mockup' pill.
folder?string[]Names of the apps inside, when this tile is a folder rather than an app.

Related types