UNPKG

@awsui/components-react

Version:

AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A

19 lines (18 loc) 691 B
import React from 'react'; import { BaseComponentProps } from '../internal/base-component'; import { NonCancelableEventHandler } from '../internal/events'; export declare namespace ExpandableSectionProps { type Variant = 'default' | 'footer' | 'container' | 'navigation'; interface ChangeDetail { expanded: boolean; } } export interface ExpandableSectionProps extends BaseComponentProps { defaultExpanded?: boolean; expanded?: boolean; variant?: ExpandableSectionProps.Variant; disableContentPaddings?: boolean; children?: React.ReactNode; header?: React.ReactNode; onChange?: NonCancelableEventHandler<ExpandableSectionProps.ChangeDetail>; }