Skip to content

Panel with border only for amsterdam theme - #42

Merged
cchaos merged 1 commit into
cchaos:props/panelsfrom
elizabetdev:props/panels
Feb 18, 2021
Merged

cchaos merged 1 commit into
cchaos:props/panelsfrom
elizabetdev:props/panels

Conversation

@elizabetdev

Copy link
Copy Markdown

Summary

Not sure this is the best way to improve the example but here's my idea. We only show the hasBorder={true} example for the Amsterdam theme. The default theme has hasBorder={true} by default so this example IMO doesn't make sense.

remove example@2x

Also in the default theme, we can't remove the border unless the shadow is also set to false. So we can improve the callout to state that:

Screenshot 2021-02-18 at 12 31 40

@elizabetdev elizabetdev mentioned this pull request Feb 18, 2021
8 tasks done
@cchaos

cchaos commented Feb 18, 2021

Copy link
Copy Markdown
Owner

😂 This was actually my first thought too when I was creating the examples. In the end, I went the route I did so that the example would get the codesandbox link or not error in the codesandbox. But I suppose we could revisit that when we make Amsterdam default. Thanks!

@cchaos
cchaos merged commit 927feba into cchaos:props/panels Feb 18, 2021
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

Successfully merging this pull request may close these issues.

2 participants