mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
chore: update Collapse component
This commit is contained in:
@@ -92,10 +92,8 @@ export const Collapse = ({
|
||||
type={inputType}
|
||||
name={asRadio ? name : undefined}
|
||||
className='peer p-0 hidden'
|
||||
checked={isControlled ? isOpen : undefined}
|
||||
defaultChecked={!isControlled ? isOpen : undefined}
|
||||
checked={isOpen}
|
||||
onChange={(e) => handleChange(e.currentTarget.checked)}
|
||||
aria-expanded={isOpen}
|
||||
aria-controls={`${inputId}-content`}
|
||||
disabled={disabled}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user