Tailus-UI / tailus-ui-react

Highly customizable react components for crafting modern, personalized websites and applications.
https://ui.tailus.io/
MIT License
326 stars 14 forks source link

DropdownMenu: TypeError: Cannot read properties of undefined (reading 'md') #51

Closed stealth-d closed 3 weeks ago

stealth-d commented 5 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Install following the docs
  2. Use the doc's example

Expected behavior To work as shown in the docs

Desktop (please complete the following information):

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!] `