1.2.2 • Published 12 months ago

face-guardian v1.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

Face Guardian Package

NPM version Build npm-typescriptLicense]github-license-url

Live Demo

Installation:

npm install face-guardian --save-dev

or

yarn add -D face-guardian

Usage :

Add FaceLogin to your component:

import React from 'react';
import ReactDOM from 'react-dom';
import { FaceLogin, useUserData } from 'face-guardian';

const App = () => {
  const userData = useUserData();

  return (
    <React.StrictMode>
      <FaceLogin
        appId="your-app-id"
        buttonStyles={{ background: 'red', fontSize: '20px' }}
        buttonText="Custom Button Text"
      />
      {userData && <div>Welcome, {userData.name}!</div>}
    </React.StrictMode>
  );
};

const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement);
root.render(<App />);

Contributing

We welcome contributions to the Face Guardian package! Please refer to our Contributing Guidelines for detailed information on how you can contribute.

Support

If you're having trouble with the package, please open an issue on the GitHub repository. We'll do our best to help you out.

License

The Face Guardian package is open source software licensed as MIT.

1.2.0

12 months ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.9

1 year ago

1.1.7

12 months ago

1.0.8

1 year ago

1.1.6

12 months ago

1.1.5

12 months ago

1.1.4

1 year ago

1.2.2

12 months ago

1.1.3

1 year ago

1.2.1

12 months ago

1.1.2

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago