#103180
Joseph Norris
Blocked

Here you go. This generates the error.


import {createRef, useEffect} from 'react'
import {DropDownList, ListItem, ListItemsGroup} from 'smart-webcomponents-react/dropdownlist'

const Dropdowns = () => {
  const dropdownlist = createRef<DropDownList>()

  useEffect(() => {}, [dropdownlist])

  return (
    <div>
      <DropDownList ref={dropdownlist} selectedIndexes={[0]}>
        <ListItem value='1'>Affogato</ListItem>
      </DropDownList>
    </div>
  )
}
export default Dropdowns
  • This reply was modified 2 years, 5 months ago by Joseph Norris.