mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-03-12 04:47:39 +00:00
16 lines
462 B
TypeScript
16 lines
462 B
TypeScript
import React from "react";
|
|
import { PrimaryButton } from "office-ui-fabric-react";
|
|
|
|
export interface PanelFooterProps {
|
|
buttonLabel: string;
|
|
onOKButtonClicked: () => void;
|
|
}
|
|
|
|
export const PanelFooterComponent: React.FunctionComponent<PanelFooterProps> = (
|
|
props: PanelFooterProps
|
|
): JSX.Element => (
|
|
<div className="panelFooter">
|
|
<PrimaryButton id="sidePanelOkButton" text={props.buttonLabel} onClick={() => props.onOKButtonClicked()} />
|
|
</div>
|
|
);
|