mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-12 23:24:35 +01:00
more custom elements
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import React from 'react'
|
||||
import Checkbox from '../common/Checkbox'
|
||||
import TextInput from '../common/TextInput'
|
||||
import DirInput from '../common/DirInput'
|
||||
import Menu from './Menu'
|
||||
import './Options.css'
|
||||
|
||||
@@ -17,6 +19,18 @@ export default class Options extends React.Component<Record<string, never>, neve
|
||||
<Checkbox id="testOption" label="" checked={true} onChange={() => console.log('Test Option Changed')} />
|
||||
</div>
|
||||
</div>
|
||||
<div className='OptionSection'>
|
||||
<div className='OptionLabel'>Test Input</div>
|
||||
<div className='OptionValue'>
|
||||
<TextInput placeholder='Test Value...' />
|
||||
</div>
|
||||
</div>
|
||||
<div className='OptionSection'>
|
||||
<div className='OptionLabel'>Test File Input</div>
|
||||
<div className='OptionValue'>
|
||||
<DirInput />
|
||||
</div>
|
||||
</div>
|
||||
</Menu>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user