mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-12-05 20:07:02 +00:00
9d5c9d6296
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
15 lines
421 B
TypeScript
15 lines
421 B
TypeScript
import { PrimaryButton } from "@fluentui/react";
|
|
import React from "react";
|
|
|
|
export interface PanelFooterProps {
|
|
buttonLabel: string;
|
|
}
|
|
|
|
export const PanelFooterComponent: React.FunctionComponent<PanelFooterProps> = ({
|
|
buttonLabel,
|
|
}: PanelFooterProps): JSX.Element => (
|
|
<div className="panelFooter">
|
|
<PrimaryButton type="submit" id="sidePanelOkButton" text={buttonLabel} ariaLabel={buttonLabel} />
|
|
</div>
|
|
);
|