0.1.1 • Published 5 years ago
@rock-kit/ui-toggle-details v0.1.1
category: packages
ui-toggle-details
A styled toggleable, accordion-like component.
Components
The ui-toggle-details
package contains the following:
Installation
yarn add @rock-kit/ui-toggle-details
Usage
import React from 'react'
import { ToggleDetails } from '@rock-kit/ui-toggle-details'
const MyToggleDetails = () => {
return (
<ToggleDetails summary="Hello toggle">
<Text>Hello details</Text>
</ToggleDetails>
)
}