tailus-ui-react
tailus-ui-react copied to clipboard
DropdownMenu: TypeError: Cannot read properties of undefined (reading 'md')
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Install following the docs
- Use the doc's example
Expected behavior To work as shown in the docs
Desktop (please complete the following information):
- OS: OSX 14.3
- Browser [chrome, safari]
- Version latest
Error
`Unhandled Runtime Error TypeError: Cannot read properties of undefined (reading 'md')
Source components/t-ui/button/Button.tsx (110:73) @ size
108 | 109 | const buttonUtilities = simpleButtonVariants[variant!][colorVariant!]?.[size!];
110 | const iconButtons = icon && variantsMap[variant!][icon][colorVariant!][size!] `