Components
Kind: element (inline) · Session key: fileNowButton · React: <FinBazeFileNowButton />
Create the session#
mutation {
createEmbedSession(input: {
companyId: "…"
user: { externalUserId: "…" }
components: { fileNowButton: { enabled: true } }
}) { clientSecret }
}
Requirements#
The company must have these features effective: tax_filings. A hidden feature makes createEmbedSession fail with FEATURE_DISABLED.
Component features#
None.
Options#
Only the common options: appearance and navigation ("internal" or "external").
Events#
| Event | React prop |
|---|---|
ready | onReady |
navigate | onNavigate |
error | onError |
opened | onOpened |
Use it#
import { FinBazeFileNowButton } from "@finbaze/embed-react";
<FinBazeFileNowButton />
const component = instance.create("file-now-button");
component.mount("#finbaze");