Skip to content

Commit

Permalink
Update tailwinddoc.js for PanelMenu (#5199)
Browse files Browse the repository at this point in the history
  • Loading branch information
gcko authored Oct 31, 2023
1 parent 8563e0b commit 0b6fb8e
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions components/doc/panelmenu/theming/tailwinddoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ export function TailwindDoc(props) {
const code = {
basic: `
const TRANSITIONS = {
overlay: {
enterFromClass: 'opacity-0 scale-75',
enterActiveClass: 'transition-transform transition-opacity duration-150 ease-in',
leaveActiveClass: 'transition-opacity duration-150 ease-linear',
leaveToClass: 'opacity-0'
}
toggleable: {
timeout: 500,
classNames: {
enter: 'max-h-0',
enterActive: '!max-h-40 overflow-hidden transition-all duration-500 ease-in-out',
exit: 'max-h-40',
exitActive: '!max-h-0 overflow-hidden transition-all duration-500 ease-in'
}
},
};
const Tailwind = {
Expand Down

0 comments on commit 0b6fb8e

Please sign in to comment.