Skip to content

Commit

Permalink
refactor(ui-checkbox,ui-img,ui-text): fix Storybook examples
Browse files Browse the repository at this point in the history
  • Loading branch information
matyasf committed Feb 26, 2021
1 parent 798f312 commit d032928
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 5 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ export default {
}
},
filter: (props) => {
return props.variant === 'toggle' && props.indeterminate
return (
(props.variant === 'simple' && props.labelPlacement !== 'end') ||
(props.variant === 'toggle' && props.indeterminate)
)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const generateDays = () => {
days.push(
<Calendar.Day
date={date.toISOString()}
label={date.toISOString()}
renderLabel={date.toISOString()}
isOutsideMonth={date.getMonth() !== 7}
id={date.toISOString()}
Expand Down
Loading

0 comments on commit d032928

Please sign in to comment.