Skip to content

Instantly share code, notes, and snippets.

@rodrigotoledo
Created January 23, 2023 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rodrigotoledo/fc49b3e08b5ef3643a1761ba606f8adc to your computer and use it in GitHub Desktop.
Save rodrigotoledo/fc49b3e08b5ef3643a1761ba606f8adc to your computer and use it in GitHub Desktop.
import React from 'react';
import { AmityUiKitProvider, AmityUiKitSocial } from '@amityco/ui-kit-open-source';
const userId = '<your USER ID here>';
const apiKey = '<your API key here>';
const App = () => {
return (
<div className="App">
<AmityUiKitProvider key={userId} apiKey={apiKey} userId={userId} displayName={userId}>
<AmityUiKitSocial />
</AmityUiKitProvider>
</div>
);
};
export default App();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment