react icon indicating copy to clipboard operation
react copied to clipboard

SelectMenu has required css property

Open pavelkeyzik opened this issue 5 years ago • 3 comments

Describe the bug

I tried to use <SelectMenu> from this example and get an error message that css property is missing

To Reproduce

Steps to reproduce the behavior:

  1. Copy this code from docs
  2. Error should appear

Expected behavior

There is no error message. I think that css property should not be required

Screenshots

image

Additional context

@primer/components v28.3.1 TypeScript v4.3.5

pavelkeyzik avatar Aug 17 '21 12:08 pavelkeyzik

Hi, @pavelkeyzik. That's likely related to this issue: https://github.com/primer/react/issues/1163

We're working on a fix. In the meantime, let me know if @dmarcey's workaround works for you.

colebemis avatar Aug 17 '21 16:08 colebemis

Thanks, @colebemis! It works well 👍

pavelkeyzik avatar Aug 17 '21 20:08 pavelkeyzik

Closing this as a duplicate of #1163

colebemis avatar Sep 16 '21 19:09 colebemis