react-native-floating-action icon indicating copy to clipboard operation
react-native-floating-action copied to clipboard

Text Actions - fontFamily, fontWeigth and fontSize

Open roneymaia opened this issue 7 years ago • 5 comments

is there any way to apply more styles in text ?

roneymaia avatar Feb 04 '19 19:02 roneymaia

not right now... but it's a good feature to add... I will mark this issue as a "new feature"

santomegonzalo avatar Feb 05 '19 09:02 santomegonzalo

Hi, as I see in the FloatingActionButtom implementation, it accepts the textStyle prop which is passed to the Text component.

(Not sure) Perhaps you can just pass it from the action object like:

const actions = [
   {
         text: "Accessibility",
         name: "bt_accessibility",
         textStyle: {
             fontFamily: 'YourFont',
             fontWeight 'bold',
         }
    }
]

kulyk avatar Aug 22 '19 17:08 kulyk

any update on this . ?

samernady avatar Feb 16 '20 11:02 samernady

Unable to see the text, If I make the position as center.

Note: I can able to see the text if the position is left or right.

nihp avatar Mar 10 '20 08:03 nihp

allowFontScaling this prop does not apply. Need help!

SharfMohiuddin avatar Aug 09 '23 06:08 SharfMohiuddin