A styled toggleable, accordion-like component.
The ui-toggle-details
package contains the following:
npm install @instructure/ui-toggle-details
import React from 'react'
import { ToggleDetails } from '@instructure/ui-toggle-details'
const MyToggleDetails = () => {
return (
<ToggleDetails summary="Hello toggle">
<Text>Hello details</Text>
</ToggleDetails>
)
}