Skip to content
Bunshi
GitHub

MoleculeInterface

MoleculeInterface: <T> { displayName: string; } & Record< symbol, unknown >

A molecule interface object.

This can be used as a reference to create objects by calling useMolecule in one of the frontend integrations.

MoleculeInterface.displayName

displayName?: string

Type parameters

ParameterDescription
Tthe type of object that will be provided by this interface

Source

src/vanilla/molecule.ts:69