Skip to content

useImportLibrary

useImportLibrary hooks is a wrapper of importLibrary

function type

<Name extends LibraryName, Lib = LibraryMap[Name]>(libName: Name) => Lib | null;