AssetStageState beta
TypeAlias of @v12-engine/editor
ts
export type AssetStageState = {
now: 'none';
} | {
now: 'loading';
src: string;
} | {
now: 'shown';
src: string;
} | {
now: 'failed';
src: string;
why: string;
};Where the stage of the Assets panel's details is: nothing on it, a model coming, one shown, or why it did not show