summaryrefslogtreecommitdiff
path: root/app_expo/components/icon/icon.props.ts
blob: 1f3ed2e4214ac4a9fd80281ecfffea3f4b008ae2 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { ImageStyle, StyleProp, ViewStyle } from 'react-native'
import { IconTypes } from './icons'

export interface IconProps {
  /**
   * Style overrides for the icon image
   */
  style?: StyleProp<ImageStyle>

  /**
   * Style overrides for the icon container
   */

  containerStyle?: StyleProp<ViewStyle>

  /**
   * The name of the icon
   */

  icon?: IconTypes
}