Skip to content

Commit 46b206b

Browse files
committed
[FEAT]: Add download page
1 parent 685683f commit 46b206b

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

src/components/demo-components/demo-download/CodeDemoDownload.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import * as React from "react";
22
import ShowDemoCode from "../../show-demo-code/ShowDemoCode";
33

4-
const CodeDemoDownload1 = (props: { card?: boolean }) => {
5-
const { card } = props;
4+
const CodeDemoDownload1 = () => {
65
return (
76
<ShowDemoCode
87
codeCompleteJS={completeCodeJS}

src/components/demo-components/demo-download/CodeDemoDownload1.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import * as React from "react";
22
import ShowDemoCode from "../../show-demo-code/ShowDemoCode";
33

4-
const CodeDemoDownload1 = (props: { card?: boolean }) => {
5-
const { card } = props;
4+
const CodeDemoDownload1 = () => {
65
return (
76
<ShowDemoCode
87
codeCompleteJS={completeCodeJS}

src/components/demo-components/demo-download/CodeDemoDownload3.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import * as React from "react";
22
import ShowDemoCode from "../../show-demo-code/ShowDemoCode";
33

4-
const CodeDemoDownload1 = (props: { card?: boolean }) => {
5-
const { card } = props;
4+
const CodeDemoDownload1 = () => {
65
return (
76
<ShowDemoCode
87
codeCompleteJS={completeCodeJS}

0 commit comments

Comments
 (0)