@tomino/dynamic-form-semantic-ui
Version:
Semantic UI form renderer based on dynamic form generation
17 lines (12 loc) • 404 B
text/typescript
// import { FormExtension } from '@tomino/dynamic-form/dist/form_definition';
// type Mapping = {
// from: string;
// to: string;
// };
// export function mapRouterParameters (mappings: Mapping[]): FormExtension {
// const useReactRouter = require('use-react-router');
// const result: FormExtension = (props) => {
// const { history } = useReactRouter();
// }
// return result;
// }