Typescript
This commit is contained in:
parent
a1fb67df7b
commit
01eabcef3d
@ -1,11 +1,18 @@
|
||||
import React from "react";
|
||||
import { Button } from "theme-ui";
|
||||
|
||||
import { useGroup } from "../../contexts/GroupContext";
|
||||
|
||||
import { findGroup } from "../../helpers/group";
|
||||
|
||||
function SelectMapSelectButton({ onMapSelect, disabled }) {
|
||||
type SelectMapSelectButtonProps = {
|
||||
onMapSelect: (mapId: string) => void;
|
||||
disabled: boolean;
|
||||
};
|
||||
|
||||
function SelectMapSelectButton({
|
||||
onMapSelect,
|
||||
disabled,
|
||||
}: SelectMapSelectButtonProps) {
|
||||
const { activeGroups, selectedGroupIds } = useGroup();
|
||||
|
||||
function handleSelectClick() {
|
Loading…
x
Reference in New Issue
Block a user