Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IBorder

Determines the interface for the border Constants. Provides IBorderRadius and IBorderWidth properties that can be accessed.

example
Using the values ```ts import { ViewStyle } from 'react-native'; import { border } from '@ef-carbon/react-native-style'; const style: ViewStyle = { borderWidth: border.width.normal, borderRadius: border.radius.normal, }); ```
see

IBorderRadius

see

IBorderWidth

see

BorderRadius

see

BorderWidth

example
Using the mixins ```ts import { ViewStyle } from 'react-native'; import { Theme } from '@ef-carbon/react-native-style'; const theme = new Theme({ base: 'blue' }); const style: ViewStyle = { ...theme.border.width.normal, ...theme.border.radius.normal, }); ```

Hierarchy

  • IBorder

Implemented by

Index

Properties

Properties

radius

radius: IRadius

Radius values to use for borders

see

IBorderRadius

see

BorderRadius

width

width: IWidth

Width values to use for borders

see

IBorderWidth

see

BorderWidth