Skip to content

vietquocbui/react-collapsible-panel

Repository files navigation

Build Status Coverage Status

React Collapsible Panel

Default props

{
    defaultExpanding: true,
    collapsible: true
}

Basic Usage

import React from 'react';
import { LaPanel, LaPanelHeader, LaPanelBody } from 'react-collapsible-panel';

class Example extends React.Component {
    render() {
        return <LaPanel className="example-panel">
            <LaPanelHeader>This is title</LaPanelHeader>
            <LaPanelBody>This body</LaPanelBody>
        </LaPanel>
    }
}

Releases

No releases published

Packages

No packages published