import {
useMantineTheme,
Modal,
Center,
Group,
TextInput,
Image,
Button,
Select,
AspectRatio,
Text,
Card,
} from '@mantine/core';
import { useForm } from '@mantine/hooks';
import { motion } from 'framer-motion';
import { useState } from 'react';
import { Apps } from 'tabler-icons-react';
import { useConfig } from '../../tools/state';
import { ServiceTypeList } from '../../tools/types';
export default function AddItemShelfItem(props: any) {
const { addService } = useConfig();
const [opened, setOpened] = useState(false);
const theme = useMantineTheme();
const form = useForm({
initialValues: {
type: 'Other',
name: '',
icon: '',
url: '',
apiKey: undefined as unknown as string,
},
});
return (
<>
setOpened(false)}
title="Add a service"
>
setOpened(true)} size={60} />
Add Service
>
);
}