From e002e86e0249691c6e764283ebfda82d5661c4bc Mon Sep 17 00:00:00 2001 From: Eidriajan <39441457+Eidriajan@users.noreply.github.com> Date: Tue, 22 Sep 2020 18:31:50 -0300 Subject: [PATCH 1/2] Update Toast Spinner. Hey guys, i'm just wondering if you guys could add an prop where people could change the color of the spinner. Sorry to disturb, --- lib/ToastContainer.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/ToastContainer.js b/lib/ToastContainer.js index 2b24619..3ab4efb 100644 --- a/lib/ToastContainer.js +++ b/lib/ToastContainer.js @@ -59,6 +59,7 @@ class ToastContainer extends Component { delay: 0, showText: true, indicatorSize: 'large', + spinnerColor: '#fff', } constructor() { @@ -187,7 +188,7 @@ class ToastContainer extends Component { { props.loading && } { @@ -254,4 +255,4 @@ export default ToastContainer export { position, duration -} \ No newline at end of file +} From f98720533ff8c5e803fe88387c83962764dc9a7c Mon Sep 17 00:00:00 2001 From: Eidriajan <39441457+Eidriajan@users.noreply.github.com> Date: Wed, 23 Sep 2020 15:36:31 -0300 Subject: [PATCH 2/2] Update ToastContainer.js --- lib/ToastContainer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ToastContainer.js b/lib/ToastContainer.js index 3ab4efb..93975eb 100644 --- a/lib/ToastContainer.js +++ b/lib/ToastContainer.js @@ -48,6 +48,7 @@ class ToastContainer extends Component { indicatorSize: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), onHidden: PropTypes.func, onMaskPress: PropTypes.func + spinnerColor: Text.propTypes.style, } static defaultProps = {