Skip to content

useFingerprint

useFingerprint(__namedParameters): FingerprintState

Defined in: packages/fingerprint/src/react/useFingerprint.ts:92

The state a fingerprint needs: the active view, the selected category, the layout for both, and prop bundles that wire them to the components. The view and selection are @data-profile/react’s useViews. The form is derived from all the items and dimensions, never the active view, so the ridges hold still and only the marks move when the view changes. Changing view clears the selection. Invalid data comes back as error with an empty layout, rather than throwing out of render.

UseFingerprintOptions

FingerprintState