You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
demoncord-rewrite/src/api/ui/settings/plugincard.jsx

21 lines
654 B

import { React } from "../../common"
import webpack from "../../webpack"
const Header = webpack.findByProps("Sizes", "Tags")
const Card = webpack.findByDisplayName("Card");
const FormText = webpack.findByDisplayName("FormText");
const Button = webpack.findByProps("BorderColors", "Colors");
export default (props) => {
return (<>
<Card type="cardPrimary" outline={false} editable={false}>
<Header size={Header.Sizes.SIZE_5}>
{props.name}
</Header>
<Button color={Button.Colors.RED} onClick={()=>{
Start/Stop
}}>
</Button>
</Card>
</>)
}