Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IThemeOpacityOptions

The options that are used with the ThemeOpacity class. They provide ways to override the default opacity values.

example
Overriding the values ```ts import { Opacity, ThemeOpacity, Theme } from '@ef-carbon/react-native-style'; const constants = new Opacity({ base: 0.6 }); const opacity = new Opacity({ opacity: constants }); const theme = new Theme({ opacity, base: 'blue' }); ```
see

Opacity

Hierarchy

  • object
    • IThemeOpacityOptions

Index

Properties

Properties

opacity

opacity: IBaseOpacity