@hellocoop/better-auth
Version:
Better Auth plugin for Hellō - https://hello.dev
29 lines (28 loc) • 998 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContinueButton = void 0;
const react_1 = __importDefault(require("react"));
/**
* Hellō branded button component
*
* Renders a properly styled Hellō button with the ō character and official branding.
*
* @param variant - Button color variant (default: 'black-and-invert')
* @param hover - Hover effect (default: 'glow')
* @param children - Custom button text (default: 'Continue with Hellō')
*
* @example
* ```tsx
* <ContinueButton onClick={handleSignIn} />
* ```
*/
const ContinueButton = ({ children = 'Continue with Hellō', className = '', ...props }) => {
return react_1.default.createElement('button', {
className: `hello-btn ${className}`,
...props,
}, 'ō\u00A0\u00A0', children);
};
exports.ContinueButton = ContinueButton;