File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
packages/yo/src/templates/brick Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11import { i18n } from "@next-core/i18n" ;
22
3- export enum K { }
4- // HELLO = "HELLO",
3+ export enum K {
4+ // HELLO = "HELLO",
5+ }
56
67const en : Locale = {
78 // HELLO: "Hello",
Original file line number Diff line number Diff line change @@ -33,11 +33,11 @@ class {{>className}} extends ReactNextElement implements {{>className}}Props {
3333 }
3434}
3535
36- export interface {{> className }} ComponentProps extends {{> className }} Props {
36+ interface {{> className }} ComponentProps extends {{> className }} Props {
3737 // Define react event handlers here.
3838}
3939
40- export function {{> className }} Component(props: {{> className }} ComponentProps) {
40+ function {{> className }} Component(props: {{> className }} ComponentProps) {
4141{{ #if useI18n }}
4242 const hello = t(K.HELLO);
4343 return <div >{hello} world!</div >;
You can’t perform that action at this time.
0 commit comments