Basic backend support and config loading from file

This commit is contained in:
Aj - Thomas
2022-05-12 19:28:10 +02:00
parent e61e986028
commit 91f636ca97
10 changed files with 235 additions and 46 deletions

View File

@@ -0,0 +1,16 @@
import { Select } from '@mantine/core';
import { useState } from 'react';
export default function SelectConfig(props: any) {
const [value, setValue] = useState<string | null>('');
return (
<Select
value={value}
onChange={setValue}
data={[
{ value: 'default', label: 'Default' },
{ value: 'yourmom', label: 'Your mom' },
]}
/>
);
}