This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.config({ | |
packageConfigPaths: [ | |
"github:*/*.json", | |
"npm:@*/*.json", | |
"npm:*.json" | |
], | |
map: { | |
"@simplr/react-forms": "npm:@simplr/[email protected]", | |
"@simplr/react-forms-dom": "@simplr/[email protected]", | |
"@simplr/react-forms-validation": "npm:@simplr/[email protected]", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import ReactDOM from "react-dom"; | |
import { FormOnSubmitCallback } from "@simplr/react-forms-dom/contracts"; | |
import { Form, Text, Submit } from "@simplr/react-forms-dom"; | |
export class App extends React.Component<{}, {}> { | |
onSubmit: FormOnSubmitCallback = (event, store) => { | |
console.log(store.ToObject()); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Type definitions for multi-glob v1.0.1 | |
// Project: https://github.com/busterjs/multi-glob/blob | |
// Definitions by: Dovydas Navickas <https://github.com/DovydasNavickas> | |
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | |
import * as glob_original from "glob"; | |
export function glob(patterns: string[], cb: (err: Error, matches: string[]) => void): void; | |
export function glob(patterns: string[], options: glob_original.IOptions, cb: (err: Error, matches: string[]) => void): void; |