/************
Processor: ts
************/
import * as dependency_0 from '@beyond-js/react-widgets/page';
// FILE: controller.d.ts
declare namespace ns_controller {
import PageReactWidgetController = dependency_0.PageReactWidgetController;
import Page = ns_views_index.Page;
class Controller extends PageReactWidgetController {
get Widget(): typeof Page;
}
}
// FILE: views\implementation.d.ts
declare namespace ns_views_implementation {
const implementation = "\nimport { useToastContext } from \"@bgroup/ui/toast\";\nexport function ImplementationToast() {\n function toggleToast() {\n add({\n type: \"info\",\n message: \"This is an example\",\n });\n }\n return (\n \n );\n }\n";
const implementation2 = "\nimport { ToastContextProvider } from '@bgroup/ui/toast';\nimport { ImplementationToast } from './implementation-toast';\nexport function View() {\n\treturn (\n\t\t\n\t\t\t\n\t\t\n\t);\n}\n";
const implementationSuccess = "\nfunction toggleToast() {\n add({\n type: \"success\",\n message: \"This is an example of success toast\",\n });\n}\n";
const implementationError = "\nfunction toggleToast() {\n add({\n type: \"error\",\n message: \"This is an example of error toast\",\n });\n}\n";
const implementationWaring = "\nfunction toggleToast() {\n add({\n type: \"warning\",\n message: \"This is an example of warning toast\",\n });\n}\n";
const implementationInfo = "\nfunction toggleToast() {\n add({\n type: \"info\",\n message: \"This is an example of info toast\",\n });\n}\n";
}
// FILE: views\index.d.tsx
declare namespace ns_views_index {
///
function Page(): JSX.Element;
}
// FILE: views\view.d.tsx
declare namespace ns_views_view {
///
function View(): JSX.Element;
}
export import Controller = ns_controller.Controller;
export import Page = ns_views_index.Page;
export import View = ns_views_view.View;
export declare const hmr: {on: (event: string, listener: any) => void, off: (event: string, listener: any) => void };