JSPM

@instructure/ui-toggle-details

10.13.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 15654
  • Score
    100M100P100Q138246F
  • License MIT

A styled toggleable, accordion-like component.

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@instructure/ui-toggle-details) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme


    category: packages

    ui-toggle-details

    npm MIT License Code of Conduct

    A styled toggleable, accordion-like component.

    Components

    The ui-toggle-details package contains the following:

    Installation

    npm install @instructure/ui-toggle-details

    Usage

    import React from 'react'
    import { ToggleDetails } from '@instructure/ui-toggle-details'
    
    const MyToggleDetails = () => {
      return (
        <ToggleDetails summary="Hello toggle">
          <Text>Hello details</Text>
        </ToggleDetails>
      )
    }