Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation for all props #1

Open
akshitkrnagpal opened this issue Jul 15, 2020 · 0 comments
Open

Add documentation for all props #1

akshitkrnagpal opened this issue Jul 15, 2020 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@akshitkrnagpal
Copy link
Owner

Not all props are documented in the Readme.

interface Props {
clientId: string
redirectURI: string
scope?: string
state?: string
responseType?: string | 'code' | 'id_token'
responseMode?: string | 'query' | 'fragment' | 'form_post'
nonce?: string
usePopup?: boolean
onSuccess?: Function
onFailure?: Function
mode?: string
type?: string
appearance?: {
color?: 'black' | 'white'
border?: boolean
borderRadius?: number
width?: number
height?: number
}
render?: (props: {
onClick: (e?: any) => void
disabled?: boolean
}) => JSX.Element
}

@akshitkrnagpal akshitkrnagpal added help wanted Extra attention is needed good first issue Good for newcomers labels Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant