import * as React from 'react'; import { DefaultButton, PrimaryButton } from '@fluentui/react/lib/Button'; import { Panel } from '@fluentui/react/lib/Panel'; import { useBoolean } from '@fluentui/react-hooks'; const buttonStyles = { root: { marginRight: 8 } }; export const PanelFooterExample: React.FunctionComponent = () => { const [isOpen, { setTrue: openPanel, setFalse: dismissPanel }] = useBoolean(false); // This panel doesn't actually save anything; the buttons are just an example of what // someone might want to render in a panel footer. const onRenderFooterContent = React.useCallback( () => (
Content goes here.