@knapsack/app
Version:
Build Design Systems on top of knapsack, by Basalt
13 lines • 551 B
TypeScript
import { AppState } from '../client/store';
import { PatternRenderData } from '../schemas/api/render';
export declare function getPatternInfoFromUrl(url: string): {
patternId: string;
templateId?: string;
demoId?: string;
} | false;
/**
* Create a demo url
*/
export declare function createDemoUrl({ patternId, templateId, assetSetId, demoId, dataId, isInIframe, wrapHtml, cacheBuster, }: PatternRenderData): string;
export declare function getTitleFromPath(path: string, appState: AppState): string;
//# sourceMappingURL=routes.d.ts.map