File tree Expand file tree Collapse file tree
packages/ui/src/components/editor/panel Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ export const Default = () => {
2525 < Donations
2626 donations = { sample_donations }
2727 is_fetching = { false }
28+ on_show_qr_code = { ( wallet ) => console . log ( 'Show QR code' , wallet ) }
2829 is_revalidating = { false }
2930 on_fetch_next_page = { ( ) => console . log ( 'Fetching next page…' ) }
3031 has_more = { false }
@@ -36,6 +37,7 @@ export const Loading = () => {
3637 return (
3738 < Donations
3839 is_fetching = { true }
40+ on_show_qr_code = { ( wallet ) => console . log ( 'Show QR code' , wallet ) }
3941 is_revalidating = { false }
4042 on_fetch_next_page = { ( ) => console . log ( 'Fetching next page…' ) }
4143 has_more = { false }
@@ -47,6 +49,7 @@ export const Revalidating = () => {
4749 return (
4850 < Donations
4951 donations = { sample_donations }
52+ on_show_qr_code = { ( wallet ) => console . log ( 'Show QR code' , wallet ) }
5053 is_fetching = { false }
5154 is_revalidating = { true }
5255 on_fetch_next_page = { ( ) => console . log ( 'Fetching next page…' ) }
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ export default {
66}
77
88const mock_files = [
9- 'packages/ui/src/components/Button.tsx' ,
10- 'packages/ui/src/components/Modal.tsx' ,
11- 'packages/vscode/src/utils/helpers.ts' ,
12- 'packages/shared/src/index.ts' ,
13- 'README.md'
9+ { path : 'packages/ui/src/components/Button.tsx' , status : 7 } , // Untracked
10+ { path : 'packages/ui/src/components/Modal.tsx' , status : 5 } , // Modified
11+ { path : 'packages/vscode/src/utils/helpers.ts' , status : 6 } , // Deleted
12+ { path : 'packages/shared/src/index.ts' , status : 5 } , // Modified
13+ { path : 'README.md' , status : 7 } // Untracked
1414]
1515
1616export const Default = ( ) => {
You can’t perform that action at this time.
0 commit comments