tailus-ui-react icon indicating copy to clipboard operation
tailus-ui-react copied to clipboard

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

Open stealth-d opened this issue 1 year ago • 0 comments

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):

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

stealth-d avatar Feb 06 '24 19:02 stealth-d