##// END OF EJS Templates
added support for two arguments (props, children) form of fucntional components
added support for two arguments (props, children) form of fucntional components

File last commit:

r65:8ac132c83639 default
r66:e3c05e9785a2 default
Show More
foo.ts
9 lines | 200 B | video/mp2t | TypeScriptLexer
import { bundle } from "../i18n";
export default bundle({
greeting: (name: string) => `Hello, ${name}!`,
goodbye: (name: string) => `Bye, ${name}!`
}, {
ru: () => import("./ru/foo")
});