Commit fd4d89e committed Jul 8, 2024 · 49 / 54
1 parent d5b0fb7 commit fd4d89e Copy full SHA for fd4d89e
File tree 8 files changed +8
-8
lines changed
frameworks/nextjs/template/cli
renderers/react/template/cli
8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import './button.css' ;
3
3
4
- interface ButtonProps {
4
+ export interface ButtonProps {
5
5
/**
6
6
* Is this the principal call to action on the page?
7
7
*/
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ type User = {
7
7
name : string ;
8
8
} ;
9
9
10
- interface HeaderProps {
10
+ export interface HeaderProps {
11
11
user ?: User ;
12
12
onLogin ?: ( ) => void ;
13
13
onLogout ?: ( ) => void ;
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import './button.css' ;
3
3
4
- interface ButtonProps {
4
+ export interface ButtonProps {
5
5
/**
6
6
* Is this the principal call to action on the page?
7
7
*/
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ type User = {
7
7
name : string ;
8
8
} ;
9
9
10
- interface HeaderProps {
10
+ export interface HeaderProps {
11
11
user ?: User ;
12
12
onLogin ?: ( ) => void ;
13
13
onLogout ?: ( ) => void ;
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import './button.css' ;
3
3
4
- interface ButtonProps {
4
+ export interface ButtonProps {
5
5
/**
6
6
* Is this the principal call to action on the page?
7
7
*/
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ type User = {
7
7
name : string ;
8
8
} ;
9
9
10
- interface HeaderProps {
10
+ export interface HeaderProps {
11
11
user ?: User ;
12
12
onLogin ?: ( ) => void ;
13
13
onLogout ?: ( ) => void ;
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import './button.css' ;
3
3
4
- interface ButtonProps {
4
+ export interface ButtonProps {
5
5
/**
6
6
* Is this the principal call to action on the page?
7
7
*/
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ type User = {
7
7
name : string ;
8
8
} ;
9
9
10
- interface HeaderProps {
10
+ export interface HeaderProps {
11
11
user ?: User ;
12
12
onLogin ?: ( ) => void ;
13
13
onLogout ?: ( ) => void ;
You can’t perform that action at this time.
0 commit comments