mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-10 18:12:53 +08:00
Add basis of commands page
This commit is contained in:
parent
c86d538597
commit
6e3e770f79
3
src/handbook/src/css/pages/CommandsPage.scss
Normal file
3
src/handbook/src/css/pages/CommandsPage.scss
Normal file
@ -0,0 +1,3 @@
|
||||
.CommandsPage {
|
||||
margin: 10px;
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
import React from "react";
|
||||
|
||||
import "@css/pages/CommandsPage.scss";
|
||||
|
||||
class CommandsPage extends React.Component<any, any> {
|
||||
constructor(props: any) {
|
||||
super(props);
|
||||
@ -7,7 +9,7 @@ class CommandsPage extends React.Component<any, any> {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div>
|
||||
<div className={"CommandsPage"}>
|
||||
<h1>Commands</h1>
|
||||
</div>
|
||||
);
|
||||
|
19
src/handbook/src/ui/widgets/Command.tsx
Normal file
19
src/handbook/src/ui/widgets/Command.tsx
Normal file
@ -0,0 +1,19 @@
|
||||
import React from "react";
|
||||
|
||||
interface IProps {
|
||||
|
||||
}
|
||||
|
||||
class Command extends React.PureComponent<IProps> {
|
||||
constructor(props: IProps) {
|
||||
super(props);
|
||||
}
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div>
|
||||
<a>command</a>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user