Skip to main content

useBlueprint

Hook to fetch a Blueprint from the DMSS API

Parameters

NameTypeOptionalDescription
typeRefstringFalseThe reference to the blueprint to retrieve

Returns

A list containing the blueprint document, a boolean representing the loading state, and an Error, if any.

Usage

Code example: