Skip to content

Commit

Permalink
Fix Calendar input PT docs (#5565)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Dec 9, 2023
1 parent 2c0a832 commit 567f79b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions components/doc/calendar/theming/tailwinddoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ const Tailwind = {
})
}),
input: {
root: ({ props }) => ({
root: ({ parent }) => ({
className: classNames('font-sans text-base text-gray-600 dark:text-white/80 bg-white dark:bg-gray-900 p-3 border border-gray-300 dark:border-blue-900/40 transition-colors duration-200 appearance-none', 'hover:border-blue-500', {
'rounded-lg': !props.showIcon,
'border-r-0 rounded-l-lg': props.showIcon
'rounded-lg': !parent.props.showIcon,
'border-r-0 rounded-l-lg': parent.props.showIcon
})
})
},
Expand Down
6 changes: 3 additions & 3 deletions components/lib/passthrough/tailwind/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1133,10 +1133,10 @@ const Tailwind = {
})
}),
input: {
root: ({ props }) => ({
root: ({ parent }) => ({
className: classNames('font-sans text-base text-gray-600 dark:text-white/80 bg-white dark:bg-gray-900 p-3 border border-gray-300 dark:border-blue-900/40 transition-colors duration-200 appearance-none', 'hover:border-blue-500', {
'rounded-lg': !props.showIcon,
'border-r-0 rounded-l-lg': props.showIcon
'rounded-lg': !parent.props.showIcon,
'border-r-0 rounded-l-lg': parent.props.showIcon
})
})
},
Expand Down

0 comments on commit 567f79b

Please sign in to comment.