@dapperduckling/keycloak-connector-react-custom-darksaber
TypeScript icon, indicating that this package has built-in type declarations

1.0.21 • Public • Published

keycloak-connector-react-custom-darksaber

Description

DarkSaber components for keycloak-connector-react

Usage

import React from 'react'
import ReactDOM from 'react-dom/client'
import {KeycloakConnectorProvider} from "@dapperduckling/keycloak-connector-react";
import { Content } from './content.js';
import {DarkSaberLoginChild} from "@dapperduckling/keycloak-connector-react-custom-darksaber";

const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)
root.render(
    <React.StrictMode>
        <KeycloakConnectorProvider config={{
            client: {
                apiServerOrigin: "http://localhost:3005",
            },
            react: {
                loginModalChildren: <DarkSaberLoginChild />, // Optional
                globalEventListener: handleKccEvent, // Optional
            }
        }}>
            <Content />
        </KeycloakConnectorProvider>
    </React.StrictMode>,
);

Readme

Keywords

none

Package Sidebar

Install

npm i @dapperduckling/keycloak-connector-react-custom-darksaber

Weekly Downloads

99

Version

1.0.21

License

AGPL-3.0-only

Unpacked Size

73.8 kB

Total Files

24

Last publish

Collaborators

  • duckboy81