From 774d19465b6cf99856bf20b8a4d0ebc7593a5fbb Mon Sep 17 00:00:00 2001 From: Ankush Dutt Date: Sat, 13 Mar 2021 10:34:02 +0530 Subject: [PATCH 1/3] fix loading style in socialicon --- src/content/SocialIcon/socialicon.playground.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/content/SocialIcon/socialicon.playground.jsx b/src/content/SocialIcon/socialicon.playground.jsx index 5422c88..a9d31d1 100644 --- a/src/content/SocialIcon/socialicon.playground.jsx +++ b/src/content/SocialIcon/socialicon.playground.jsx @@ -7,6 +7,10 @@ const SocialIconlayground = () => { const params = useView({ componentName: "SocialIcon", props: { + activityIndicatorStyle: { + type: PropTypes.Object, + value: `{marginLeft: 20, marginRight: 40}` + }, button: { type: PropTypes.Boolean, value: false }, Component: { type: PropTypes.ReactNode, @@ -75,7 +79,6 @@ const SocialIconlayground = () => { value: "GitHub", description: "title if made into a button.", }, - type: { type: PropTypes.String, value: "github", From 1191bc5fe84e5a0eaabb70e07c8910309bb7c69a Mon Sep 17 00:00:00 2001 From: Ankush Dutt Date: Sat, 13 Mar 2021 10:37:42 +0530 Subject: [PATCH 2/3] add description --- src/content/SocialIcon/socialicon.playground.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/content/SocialIcon/socialicon.playground.jsx b/src/content/SocialIcon/socialicon.playground.jsx index a9d31d1..a166d1b 100644 --- a/src/content/SocialIcon/socialicon.playground.jsx +++ b/src/content/SocialIcon/socialicon.playground.jsx @@ -9,7 +9,8 @@ const SocialIconlayground = () => { props: { activityIndicatorStyle: { type: PropTypes.Object, - value: `{marginLeft: 20, marginRight: 40}` + value: `{marginLeft: 20, marginRight: 40}`, + description: "Style to render when in loading state" }, button: { type: PropTypes.Boolean, value: false }, Component: { From c5a3207dc322f2e3dbd44c9dc4fbe1ef94c935cd Mon Sep 17 00:00:00 2001 From: Ankush Dutt Date: Sat, 13 Mar 2021 18:25:39 +0530 Subject: [PATCH 3/3] remove default style --- src/content/SocialIcon/socialicon.playground.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/SocialIcon/socialicon.playground.jsx b/src/content/SocialIcon/socialicon.playground.jsx index a166d1b..9790ca9 100644 --- a/src/content/SocialIcon/socialicon.playground.jsx +++ b/src/content/SocialIcon/socialicon.playground.jsx @@ -9,7 +9,7 @@ const SocialIconlayground = () => { props: { activityIndicatorStyle: { type: PropTypes.Object, - value: `{marginLeft: 20, marginRight: 40}`, + value: ``, description: "Style to render when in loading state" }, button: { type: PropTypes.Boolean, value: false },