ra-core
Version:
Core components of react-admin, a frontend Framework for building admin applications on top of REST services, using ES6, React
21 lines • 770 B
TypeScript
import * as React from 'react';
import { ReactNode } from 'react';
/**
* This is a storybook decorator that wrap the story inside a fake browser.
* It features an editable address bar with back and forward buttons.
*
* @example Usage in a storybook
* export default {
* title: 'ra-core/Admin/CustomRoutes/Authenticated',
* decorators: [FakeBrowserDecorator],
* parameters: {
* // You can pass the react-router history initial entries like this
* initialEntries: ['/authenticated'],
* },
* };
*/
export declare const FakeBrowserDecorator: (Story: any, context: any) => React.JSX.Element;
export declare const Browser: ({ children }: {
children: ReactNode;
}) => React.JSX.Element;
//# sourceMappingURL=FakeBrowser.d.ts.map