@fkn/lib/react
Type Aliases
Section titled “Type Aliases”ConnectButtonProps
Section titled “ConnectButtonProps”type ConnectButtonProps = object;Properties
Section titled “Properties”className?
Section titled “className?”optional className?: string;style?
Section titled “style?”optional style?: CSSProperties;PoweredByFknProps
Section titled “PoweredByFknProps”type PoweredByFknProps = PoweredByOptions & object;Type Declaration
Section titled “Type Declaration”className?
Section titled “className?”optional className?: string;style?
Section titled “style?”optional style?: CSSProperties;PoweredByOptions
Section titled “PoweredByOptions”type PoweredByOptions = object;Properties
Section titled “Properties”optional href?: string;Where that link leads, in a new tab. Defaults to FKN’s documentation, https://docs.fkn.dev/.
label?
Section titled “label?”optional label?: string;The mark’s accessible name and tooltip, and the popup’s heading. Defaults to “Powered by FKN”.
linkLabel?
Section titled “linkLabel?”optional linkLabel?: string;The words of the popup’s one link. Defaults to “How it works”, as on fkn.app’s “through FKN” popup.
Functions
Section titled “Functions”ConnectButton()
Section titled “ConnectButton()”function ConnectButton(__namedParameters?): ReactElement;Parameters
Section titled “Parameters”__namedParameters?
Section titled “__namedParameters?”ConnectButtonProps = {}
Returns
Section titled “Returns”ReactElement
connectButtonUrl()
Section titled “connectButtonUrl()”function connectButtonUrl(): string;Returns
Section titled “Returns”string
PoweredByFkn()
Section titled “PoweredByFkn()”function PoweredByFkn(__namedParameters): ReactElement;FKN’s mark and its popup, in a span that takes className and style (its font size sizes the mark).
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”Returns
Section titled “Returns”ReactElement