react-native-materialui-textfield icon indicating copy to clipboard operation
react-native-materialui-textfield copied to clipboard

labelTextStyle

Open bertbeck opened this issue 6 years ago • 2 comments

Does this work?

I'm trying to set the color and style of the top label by using:

  <Dropdown
    labelTextStyle={{fontWeight:'600', color:'black'}} 
    label='Gig Type'
    value={gigTypeVal}
    data={[{value:'Paid'},{value:'Volunteer'}]}
  />

but it doesn't work

bertbeck avatar Jan 09 '19 21:01 bertbeck

Need a bit more information on this;

This is a textfield not a dropdown, can you show me your component that you're attempting to style the top of the label with?

petrogad avatar Jan 10 '19 14:01 petrogad

Sorry - I think I posted in the wrong spot - I forked to see if I could get it to style the top label but no luck. I changed it to use your component. is locked into a gray color for the top label, I need to change it to black and would like to specify other attributes.

See:

https://github.com/bertbeck/react-native-material-dropdown/blob/master/src/components/dropdown/index.js https://github.com/bertbeck/react-native-material-dropdown forked from: https://github.com/n4kz/react-native-material-dropdown

Bert

On Thu, Jan 10, 2019 at 7:19 AM Pete [email protected] wrote:

Need a bit more information on this;

This is a textfield not a dropdown, can you show me your component that you're attempting to style the top of the label with?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/petrogad/react-native-materialui-textfield/issues/4#issuecomment-453111168, or mute the thread https://github.com/notifications/unsubscribe-auth/AF37QgCX1TL2a08ttvNhPkVqnyKf32xtks5vB0vZgaJpZM4Z4T-R .

bertbeck avatar Jan 10 '19 20:01 bertbeck