UNPKG

@seontechnologies/seon-id-verification

Version:

An advanced SDK featuring web components for natural person identification through document scanning, facial recognition, hand gesture, and face turning detection, designed for secure and efficient user verification.

7 lines (6 loc) 1.08 kB
import { j as t, B as d, l as w } from "./index-oGnhSncZ.mjs"; import { P as p } from "./PreviousButton-C1ta7IKB.mjs"; const h = ({ children: s, onNext: a, onBack: o, idPrefix: l, title: r, description: i, nextButtonText: c, backButtonText: e, nextButtonDisabled: n = !1, className: x }) => t.jsxs("div", { className: `tw-flex tw-flex-col ${x}`, children: [t.jsxs("div", { className: "tw-text-primary-on-light-100 dark:tw-text-primary-on-light-100-dark tw-flex tw-flex-col tw-gap-6", children: [t.jsxs("div", { className: "tw-w-full tw-text-left tw-flex tw-flex-col tw-gap-[6px]", children: [t.jsx("h1", { id: l + "-title", children: r }), t.jsx("p", { id: l + "-description", className: "label tw-text-secondary-on-light-60 dark:tw-text-secondary-on-light-60-dark", children: i })] }), s] }), t.jsxs("div", { className: "tw-flex tw-flex-col tw-gap-4", children: [t.jsx(d, { id: l + "-start-button", onClick: a, text: c, className: "tw-w-full", disabled: n }), t.jsx(p, { id: l + "-back-button", onClick: o, text: e || w.back_to_previous_step_button })] })] }); export { h as C };