@oxyhq/services
Advanced tools
Comparing version 0.0.6 to 0.0.7
import React from "react"; | ||
interface SignInButtonProps { | ||
onClick: () => void; | ||
} | ||
declare const SignInButton: React.FC<SignInButtonProps>; | ||
export declare const SignInButton: ({ onClick, icon, text, }: { | ||
onClick?: () => void; | ||
icon?: React.ReactNode; | ||
text: string; | ||
}) => React.JSX.Element; | ||
export default SignInButton; | ||
//# sourceMappingURL=SignInButton.d.ts.map |
import React from "react"; | ||
const SignInButton = ({ onClick }) => { | ||
return (React.createElement("button", { onClick: onClick, style: styles.button }, "Sign in with Oxy")); | ||
export const SignInButton = ({ onClick, icon, text = "Sign in with Oxy", }) => { | ||
return (React.createElement("button", { onClick: onClick, style: styles.container }, | ||
icon && icon, | ||
text)); | ||
}; | ||
const styles = { | ||
button: { | ||
container: { | ||
padding: "0.7em", | ||
@@ -8,0 +10,0 @@ borderRadius: "100vmax", |
{ | ||
"name": "@oxyhq/services", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "homepage": "https://oxy.so/", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17294
362