Skip to content

Not possible to change title colour of RefreshControl #6812

@jdmunro

Description

@jdmunro

As far as I can tell there's no way to change the title colour if you provide a title for RefreshControl:

<RefreshControl
  refreshing={isRankDataRefreshing}
  onRefresh={onRefreshRankings}
  title={'Refreshing'}
  tintColor='white'
  progressBackgroundColor='white'
/>

By default the colour will be black. This is problematic if you have a non-standard background colour:

simulator screen shot 5 apr 2016 10 55 51

I'm not sure if this is the best approach, but one solution would just be to add an additional prop, titleColor, for instance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions