removed $smType for conditions and trigger

This commit is contained in:
ari committed 2022-05-13 17:26:44 -04:00
1 parent 49fea3fabd
commit 429dfd5b50
41 files changed
+410 -723

No files matched your search

@@ -1,7 +1,7 @@
import { ComponentMeta, ComponentStory } from "@storybook/react";
import { useState } from "react";
import InputList from "./InputList";
import { InputList } from "./InputList";
export default {
title: 'Inputs/InputList',
+3 -2
View File
@@ -1,3 +1,4 @@
import { FC } from "react";
import InputWrapper from "./InputWrapper";
import { useInputListStyles } from "./styles";
@@ -10,10 +11,10 @@ export interface Props<T extends string> {
className?: string;
label: string;
}
export default function InputList<T extends string>({
export const InputList: FC<Props<any>> = ({
current, options, onChange, label,
...selattr
}: Props<T>) {
}) => {
const { classes } = useInputListStyles({});
return <InputWrapper label={label} labelSize={'small'} noMargin>
<select