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

How to change the height and the background color ? #76

Closed
ashishdhyani opened this issue Mar 17, 2017 · 3 comments
Closed

How to change the height and the background color ? #76

ashishdhyani opened this issue Mar 17, 2017 · 3 comments

Comments

@ashishdhyani
Copy link

ashishdhyani commented Mar 17, 2017

How to change the Height and the background color ?
even if I change the style it is not getting impacted also the color is coming as black instead of blue as shown in demo.

           <ProgressButton 
                onClick={this.onClick} 
                state={this.props.progressState}
                style={{width: '200px', height: '20px', "font-size": '8px'}}
                >
            Populate Results
            </ProgressButton>

image

success and error colors are shown properly.

@ashishdhyani ashishdhyani changed the title How to change the height ? How to change the height and the background color ? Mar 17, 2017
@mathieudutour
Copy link
Owner

You can use CSS. Otherwise, the style props is applied to container. Maybe we need another props to apply styles to the different elements of the button?
Do you want to send a PR?

@togonow
Copy link

togonow commented Apr 11, 2017

@mathieudutour can you elaborate more on how to do that.

@mathieudutour
Copy link
Owner

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

3 participants