Property "size" does not exist on type
bennyk8y opened this issue · comments
Benny commented
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
Chris Sandvik commented
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.