mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-01-23 17:30:23 +00:00
12 lines
444 B
TypeScript
12 lines
444 B
TypeScript
|
import * as React from "react";
|
||
|
import { ReactAdapter } from "../../../Bindings/ReactBindingHandler";
|
||
|
import { AccountSwitchComponent, AccountSwitchComponentProps } from "./AccountSwitchComponent";
|
||
|
|
||
|
export class AccountSwitchComponentAdapter implements ReactAdapter {
|
||
|
public parameters: ko.Observable<AccountSwitchComponentProps>;
|
||
|
|
||
|
public renderComponent(): JSX.Element {
|
||
|
return <AccountSwitchComponent {...this.parameters()} />;
|
||
|
}
|
||
|
}
|