This commit is contained in:
ari committed 2022-04-23 18:10:20 -04:00
1 parent baada590c5
commit 44ad46cff3
6 files changed
+13 -6

No files matched your search

@@ -34,5 +34,6 @@ Basic.args = {
'wowo': '!'
},
mode: 'single',
}
tags: {},
},
}
@@ -46,6 +46,7 @@ Simple.args = {
'wowo': '!'
},
mode: 'single',
tags: {},
},
trigger: [
{
@@ -115,6 +116,7 @@ EmptyStart.args = {
'wowo': '!'
},
mode: 'single',
tags: {},
},
trigger: [
],
@@ -1,11 +1,10 @@
import "./index.css";
import { AutomationEditor } from "components/AutomationEditor";
import { Button } from "components/Inputs/Button";
import { FC, useState } from "react";
import { AutomationData } from "types/automations";
import { DAGBoardElmDims } from 'components/DAGSvgs/DAGBoard';
import { defaultAutomation } from '../../utils/defaults';
import { ArrowIcon, TrashIcon } from "components/Icons";
import { ArrowIcon } from "components/Icons";
import { ButtonIcon } from "components/Icons/ButtonIcons";
import { ApiService } from "apiService/core";
import { AutomationListBox } from "./AutomationListBox";
@@ -1,5 +1,4 @@
import { ArrowIcon } from "components/Icons";
import InputWrapper from "./InputWrapper";
import { useInputMultiSelectStyles } from "./styles";
import { useState } from 'react';
@@ -15,7 +14,6 @@ export interface Props<T extends string> {
}
export default function InputMultiSelect<T extends string>({
selected = [], options, onChange, label, max,
...selattr
}: Props<T>) {
// state
const [open, setOpen] = useState(false);