@oxyhq/services
Advanced tools
Comparing version
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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
17294
0.78%362
0.84%