@atlaskit/panel
Version:
A React component rendering a collapsible panel
63 lines (44 loc) • 1.29 kB
Markdown
<!-- API Report Version: 2.3 -->
## API Report File for "@atlaskit/panel"
> Do not edit this file. This report is auto-generated using
> [API Extractor](https://api-extractor.com/).
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
### Table of contents
- [Main Entry Types](#main-entry-types)
- [Peer Dependencies](#peer-dependencies)
### Main Entry Types
<!--SECTION START: Main Entry Types-->
```ts
import { FC } from 'react';
import { ReactNode } from 'react';
// @public (undocumented)
type BasePanelProps = {
children?: ReactNode;
header?: ReactNode;
};
// @public (undocumented)
const PanelState: FC<Props>;
export default PanelState;
// @public (undocumented)
type PanelState_2 = BasePanelProps & {
isExpanded: boolean;
onChange: (isExpanded: boolean) => void;
};
// @public (undocumented)
export const PanelStateless: FC<PanelState_2>;
// @public (undocumented)
type Props = BasePanelProps & {
isDefaultExpanded?: boolean;
};
// (No @packageDocumentation comment for this package)
```
<!--SECTION END: Main Entry Types-->
### Peer Dependencies
<!--SECTION START: Peer Dependencies-->
```json
{
"react": "^16.8.0",
"styled-components": "^3.2.6"
}
```
<!--SECTION END: Peer Dependencies-->