Skip to content

Instantly share code, notes, and snippets.

View DovydasNavickas's full-sized avatar
🎯
Focusing

Dovydas Navickas DovydasNavickas

🎯
Focusing
View GitHub Profile
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]",
@DovydasNavickas
DovydasNavickas / sample.tsx
Created June 26, 2017 15:09
Minimal app using @simplr/react-forms.
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());
};
// 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;