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.
22 lines
557 B
22 lines
557 B
import React from "react";
|
|
import {Button, Card, CardFooter, CardHeader} from "reactstrap";
|
|
import useLights from "../Hooks/light";
|
|
|
|
function Group({id, name, permissions}) {
|
|
const lights = useLights({groupId: id});
|
|
|
|
return (
|
|
<Card className="mt-3">
|
|
<CardHeader>{name}</CardHeader>
|
|
<CardFooter>
|
|
<Button color="primary">Detaljer</Button>
|
|
{" "}
|
|
<Button color="secondary">Skift farger</Button>
|
|
{" "}
|
|
<Button color="danger">Fjern</Button>
|
|
</CardFooter>
|
|
</Card>
|
|
);
|
|
}
|
|
|
|
export default Group;
|