Skip to content

@fkn/lib/react

type ConnectButtonProps = object;
optional className?: string;
optional style?: CSSProperties;

type PoweredByFknProps = PoweredByOptions & object;
optional className?: string;
optional style?: CSSProperties;

type PoweredByOptions = object;
optional href?: string;

Where that link leads, in a new tab. Defaults to FKN’s documentation, https://docs.fkn.dev/.

optional label?: string;

The mark’s accessible name and tooltip, and the popup’s heading. Defaults to “Powered by FKN”.

optional linkLabel?: string;

The words of the popup’s one link. Defaults to “How it works”, as on fkn.app’s “through FKN” popup.

function ConnectButton(__namedParameters?): ReactElement;

ConnectButtonProps = {}

ReactElement


function connectButtonUrl(): string;

string


function PoweredByFkn(__namedParameters): ReactElement;

FKN’s mark and its popup, in a span that takes className and style (its font size sizes the mark).

PoweredByFknProps

ReactElement