mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-08 22:45:49 +01:00
Basic backend support and config loading from file
This commit is contained in:
16
components/Config/SelectConfig.tsx
Normal file
16
components/Config/SelectConfig.tsx
Normal 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' },
|
||||
]}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user