Skip to content

lumilio-web / hooks/util-hooks/useGenerateBorder / useGenerateBorders

Function: useGenerateBorders()

useGenerateBorders(): UseGenerateBordersReturn

Defined in: hooks/util-hooks/useGenerateBorder.tsx:67

Custom hook to generate images with borders using the shared web worker client. It encapsulates all state related to the generation process. This hook must be used within a component tree wrapped by <WorkerProvider />.

Returns

UseGenerateBordersReturn

Hook state and actions for border generation.

Author

Edwin Zhan

Since

1.1.0