1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-24 23:37:51 +01:00

20 lines
376 B
TypeScript
Raw Normal View History

import Component from './Component';
/**
* The `Page` component
*
* @abstract
*/
type PageAttributes = {
component: string
locale: string
props: Record<string, any>
url: string
version: string
};
export default class Page extends Component<{}> {
page: PageAttributes = JSON.parse($('#app').attr('data-page') as string) as PageAttributes;
title?: string;
}