Skip to main content
Version: 7.3.2

Dark Theme For Native Components

You can use the dark theme for native components by setting the appearance prop to dark on the Application module.

Example

import Application from "@smartface/native/application";
import { Appearance } from "@smartface/native/application/application";

Application.appearance = Appearance.DARK;
caution

The affected components vary by platform. A list of affected components can be found below."

iOS

  • Alert
  • Keyboard

Android

  • Alert
  • Picker
  • SelectablePicker
  • TimePicker
  • DatePicker