Debian Codegraph @

node/@patternfly/react-core/src/components/ExpandableSection/examples/ExpandableSectionUncontrolledDynamicToggleText.tsx

raw
1 import { ExpandableSection } from '@patternfly/react-core';
2
3 export const ExpandableSectionUncontrolledDynamicToggle: React.FunctionComponent = () => (
4 <ExpandableSection
5 toggleTextExpanded="Show less uncontrolled dynamic toggle example content"
6 toggleTextCollapsed="Show more uncontrolled dynamic toggle example content"
7 >
8 This content is visible only when the component is expanded.
9 </ExpandableSection>
10 );