SocialIcon
SocialIcons are visual cues to online and social media networks. We offer a varied range of social icons.
#
Usage#
Props#
SocialIcon- Component
- activityIndicatorStyle
- button
- disabled
- fontFamily
- fontStyle
- fontWeight
- iconColor
- iconSize
- iconStyle
- iconType
- light
- loading
- raised
- small
- style
- title
- type
- underlayColor
#
Reference#
SocialIcon#
ComponentType of button.
Type | Default |
---|---|
React Component | Pressable or View |
#
activityIndicatorStyleStyle to render when in loading state.
Type | Default |
---|---|
View style(Object) | None |
#
buttonCreates button with a social icon.
Type | Default |
---|---|
boolean | false |
#
disabledDisables the button, if true.
Type | Default |
---|---|
boolean | None |
#
fontFamilySpecify different font family.
Type | Default |
---|---|
string | None |
#
fontStyleSpecify text styling.
Type | Default |
---|---|
Text Style(Object) | None |
#
fontWeightSpecify font weight of title if set as a button with a title.
Type | Default |
---|---|
string | None |
#
iconColorSpecify the color of the icon.
Type | Default |
---|---|
string | white |
#
iconSizeSpecify the size of the icon.
Type | Default |
---|---|
number | 24 |
#
iconStyleExtra styling for icon component.
Type | Default |
---|---|
View style(Object) | None |
#
iconTypeType of icon set. Supported sets here.
Type | Default |
---|---|
string | font-awesome |
#
lightReverses icon color scheme, setting background to white and icon to primary color.
Type | Default |
---|---|
boolean | None |
#
loadingShows loading indicator.
Type | Default |
---|---|
boolean | None |
#
raisedRaised adds a drop shadow, set to false to remove.
Type | Default |
---|---|
boolean | true |
#
smallDecides the size of the activity indicator.
Type | Default |
---|---|
string | None |
#
styleAdds styling to the button.
Type | Default |
---|---|
View style(Object) | None |
#
titleTitle if made into a button.
Type | Default |
---|---|
string | None |
#
typeSocial media type.
Type | Default |
---|---|
SocialMediaType | None |
#
underlayColorAdd Underlay color.
Type | Default |
---|---|
string | None |