feat(preferences): Defaults segment

feat: Dropdown component
This commit is contained in:
Aman Harwara
2021-09-30 20:50:44 +05:30
parent 0a3521a25c
commit b4fcc993aa
6 changed files with 188 additions and 7 deletions

View File

@@ -2,8 +2,7 @@ import { WebApplication } from '@/ui_models/application';
import { AppState } from '@/ui_models/app_state';
import { FunctionComponent } from 'preact';
import { PreferencesPane } from '../components';
import { ErrorReporting } from './general-segments';
import { Tools } from './general-segments/Tools';
import { ErrorReporting, Tools, Defaults } from './general-segments';
interface GeneralProps {
appState: AppState;
@@ -13,6 +12,7 @@ interface GeneralProps {
export const General: FunctionComponent<GeneralProps> = (props) => (
<PreferencesPane>
<Tools application={props.application} />
<Defaults application={props.application} />
<ErrorReporting appState={props.appState} />
</PreferencesPane>
);