Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

defaultValueText styling ? #580

Open
ahmadyousefdev opened this issue Nov 19, 2019 · 0 comments
Open

defaultValueText styling ? #580

ahmadyousefdev opened this issue Nov 19, 2019 · 0 comments

Comments

@ahmadyousefdev
Copy link

Version

  • tcomb-form-native v ^0.6.13

Actual behaviour

defaultValueText from type: Date looks just like a plain text

Question

Can I style defaultValueText (to look like a button for example),,, how can I style it ? my code:

Time: {
          stylesheet: labelStyle,
          label: Languages.DeliveryTime,
          maximumDate: endTime,
          minimumDate: startTime,
          minuteInterval: 10,
          mode: 'time',
          config: {
            format: (date) => { return moment(date).format('HH:mm A') },
            defaultValueText: Languages.TimeChoose,
          }
        }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant