Skip to content

Conversation

workgena
Copy link
Contributor

@workgena workgena commented Jul 2, 2019

Why?

Current example overlayFactory(spinner: true, background: 'red') does not work.

Solution:

Update example of usage overlayFactory according to "react-loading-overlay" documentation Custom overlay background (extending base styles).

The correct format if:

overlayFactory({ spinner: true, styles: { overlay: base => ({ ...base, background: 'rgba(255, 0, 0, 0.5)' }) } })
@workgena workgena changed the title WIP: Updaste README, overlayFactory example Updaste README, overlayFactory example Jul 2, 2019
@workgena workgena changed the title Updaste README, overlayFactory example Update README, overlayFactory example Jul 2, 2019
@AllenFang AllenFang changed the base branch from master to develop July 6, 2019 10:27
@AllenFang
Copy link
Member

@workgena thanks for your contribution, would you please fix the check fails? it's seems like fail due to unit test.

@workgena workgena changed the title Update README, overlayFactory example [WIP] Update README, overlayFactory example Jul 8, 2019
Update example of usage `overlayFactory` according to "react-loading-overlay" documentation.
@workgena workgena changed the title [WIP] Update README, overlayFactory example Update README, overlayFactory example Jul 8, 2019
@workgena
Copy link
Contributor Author

workgena commented Jul 8, 2019

The problem was with linter code-style. Fixed.

@AllenFang
Copy link
Member

@workgena thanks, I will release in next version. 🎉

@AllenFang AllenFang merged commit 46258b0 into react-bootstrap-table:develop Jul 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants