Skip to content

Commit

Permalink
WIP(ui-view): limit storybook generations
Browse files Browse the repository at this point in the history
  • Loading branch information
joyenjoyer committed Oct 2, 2023
1 parent 0ae809b commit bdec501
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/ui-view/src/View/__examples__/View.examples.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,18 @@ export default {
props.textAlign !== 'center')) ||
// Only generate a 1 variation for non-'0' borderWidth
(props.borderWidth !== '0' &&
(props.background !== 'transparent' ||
props.borderRadius !== '0' ||
props.position !== 'static' ||
props.shadow !== 'none' ||
props.textAlign !== 'center')) ||
(props.overscrollBehavior === 'none' &&
(props.background !== 'transparent' ||
props.borderRadius !== '0' ||
props.position !== 'static' ||
props.shadow !== 'none' ||
props.textAlign !== 'center')) ||
(props.overscrollBehavior === 'auto' &&
(props.background !== 'transparent' ||
props.borderRadius !== '0' ||
props.position !== 'static' ||
Expand Down

0 comments on commit bdec501

Please sign in to comment.