mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-28 21:32:05 +00:00
* Move add collection pane to React * Add feature flag * fix unit tests * FIx merge conflicts and address comments * Resolve merge conflicts * Address comments * Fix e2e test failure * Update test snapshots * Update test snapshots
15 lines
401 B
TypeScript
15 lines
401 B
TypeScript
import React from "react";
|
|
import { PrimaryButton } from "office-ui-fabric-react";
|
|
|
|
export interface PanelFooterProps {
|
|
buttonLabel: string;
|
|
}
|
|
|
|
export const PanelFooterComponent: React.FunctionComponent<PanelFooterProps> = (
|
|
props: PanelFooterProps
|
|
): JSX.Element => (
|
|
<div className="panelFooter">
|
|
<PrimaryButton type="submit" id="sidePanelOkButton" text={props.buttonLabel} />
|
|
</div>
|
|
);
|