Formatting
This commit is contained in:
parent
39a696117e
commit
361fd08828
1 changed files with 8 additions and 9 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
import { useEffect } from "react";
|
import { useEffect } from "react";
|
||||||
import { InputListComponentType } from "../../types/components";
|
import { InputListComponentType } from "../../types/components";
|
||||||
|
|
||||||
import { Input } from "../ui/input";
|
|
||||||
import { classNames } from "../../utils/utils";
|
|
||||||
import _ from "lodash";
|
import _ from "lodash";
|
||||||
|
import { classNames } from "../../utils/utils";
|
||||||
import IconComponent from "../genericIconComponent";
|
import IconComponent from "../genericIconComponent";
|
||||||
|
import { Input } from "../ui/input";
|
||||||
|
|
||||||
export default function InputListComponent({
|
export default function InputListComponent({
|
||||||
value,
|
value,
|
||||||
|
|
@ -19,13 +19,12 @@ export default function InputListComponent({
|
||||||
}, [disabled]);
|
}, [disabled]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={
|
className={classNames(
|
||||||
classNames(
|
value.length > 1 && editNode ? "my-1" : "",
|
||||||
value.length > 1 && editNode ? "my-1" : "",
|
"flex flex-col gap-3"
|
||||||
"flex flex-col gap-3"
|
)}
|
||||||
)
|
>
|
||||||
}>
|
|
||||||
{value.map((i, idx) => {
|
{value.map((i, idx) => {
|
||||||
return (
|
return (
|
||||||
<div key={idx} className="flex w-full gap-3">
|
<div key={idx} className="flex w-full gap-3">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue