Increasing text size in buttons with react native ui kitten

Suppose you have a button and the size of the button is perfect, but the text size doesnt match the size of the button.

How should i go about increasing the size of the Button text. Within the documentation it says to use, StyleProp<TextStyle>, ive been trying to use this but i feel like i lack the proper understanding.

A point in the right direction would be appreciated.

<Button
  status="control"
  appearance="ghost"
  size="giant"
> title </Button>

Answers

I suppose you use custom font which doesn't look great with default configuration provided by Eva. However, you have two options here. Providing text styles through the textStyle prop, or modifying mapping as I mentioned in related github issue.

Posted on by artyorsh