mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-20 09:20:16 +00:00
Fix format
This commit is contained in:
@@ -2,17 +2,20 @@ import { DefaultButton } from "office-ui-fabric-react";
|
|||||||
import * as React from "react";
|
import * as React from "react";
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
login: () => void;
|
login: () => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const SignInButton: React.FunctionComponent<Props> = ({ login }: Props) => {
|
export const SignInButton: React.FunctionComponent<Props> = ({ login }: Props) => {
|
||||||
return <DefaultButton
|
return (
|
||||||
className="mecontrolSigninButton"
|
<DefaultButton
|
||||||
text="Sign In"
|
className="mecontrolSigninButton"
|
||||||
onClick={login}
|
text="Sign In"
|
||||||
styles={{
|
onClick={login}
|
||||||
rootHovered: { backgroundColor: "#393939", color: "#fff" },
|
styles={{
|
||||||
rootFocused: { backgroundColor: "#393939", color: "#fff" },
|
rootHovered: { backgroundColor: "#393939", color: "#fff" },
|
||||||
rootPressed: { backgroundColor: "#393939", color: "#fff" }
|
rootFocused: { backgroundColor: "#393939", color: "#fff" },
|
||||||
}} />;
|
rootPressed: { backgroundColor: "#393939", color: "#fff" }
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user