I am currently utilizing react-select multi-select feature from the npm package at this link. My project is styled using bootstrap 4, and I am aiming to have the react-select component match the size of the sm class in Bootstrap. To achieve this, I attempted passing the following styles to the style prop in react-select.
const customStyles = {
control: () => ({
height: 'calc(1.5em + .5rem + 2px)',
padding: '.25rem .5rem',
fontSize: '.875rem',
lineHeight: '1.5',
borderRadius: '.2rem'
})
}
The styles provided are similar to those of the form-control-sm class in Bootstrap. Essentially, I want the react-select component to mirror the size of the "sm" class in bootstrap's form-control.
Specifically, I am seeking to replicate the styling found at this link where the class is set as class="custom-select custom-select-sm".