diff --git a/src/handbook/src/css/pages/CommandsPage.scss b/src/handbook/src/css/pages/CommandsPage.scss new file mode 100644 index 000000000..5a0b9bc7c --- /dev/null +++ b/src/handbook/src/css/pages/CommandsPage.scss @@ -0,0 +1,3 @@ +.CommandsPage { + margin: 10px; +} diff --git a/src/handbook/src/ui/pages/CommandsPage.tsx b/src/handbook/src/ui/pages/CommandsPage.tsx index f811ed750..1e3b714b1 100644 --- a/src/handbook/src/ui/pages/CommandsPage.tsx +++ b/src/handbook/src/ui/pages/CommandsPage.tsx @@ -1,5 +1,7 @@ import React from "react"; +import "@css/pages/CommandsPage.scss"; + class CommandsPage extends React.Component { constructor(props: any) { super(props); @@ -7,7 +9,7 @@ class CommandsPage extends React.Component { render() { return ( -
+

Commands

); diff --git a/src/handbook/src/ui/widgets/Command.tsx b/src/handbook/src/ui/widgets/Command.tsx new file mode 100644 index 000000000..d0f84dfac --- /dev/null +++ b/src/handbook/src/ui/widgets/Command.tsx @@ -0,0 +1,19 @@ +import React from "react"; + +interface IProps { + +} + +class Command extends React.PureComponent { + constructor(props: IProps) { + super(props); + } + + render() { + return ( +
+ command +
+ ); + } +}