csandman / chakra-react-select

A Chakra UI themed wrapper for the popular library React Select

Home Page:https://www.npmjs.com/package/chakra-react-select

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Property "size" does not exist on type

bennyk8y opened this issue · comments

Description

import { Select, useChakraSelectProps } from 'chakra-react-select';

function App() {
  return <Select size='sm' options=[{ label: 'blue' }, { label: 'green' }]/>;
}

There is no such prop of called "size". If ignoring this TS error, it accepts this prop and applies it correctly.

chakra-react-select Version

4.7.0

Link to Reproduction

No response

TypeScript?

  • Yes I use TypeScript

Steps to reproduce

No response

Operating System

  • macOS
  • Windows
  • Linux
  • iOS/iPadOS
  • Android

Additional Information

No response

This appears to be a duplicate of #273 if I'm not mistaking. If it is, can close this and answer some of the questions I pose there to keep conversation centralized? I've still had no luck reproducing this issue.