mirror of
https://github.com/apotdevin/thunderhub.git
synced 2025-02-22 22:25:21 +01:00
41 lines
996 B
TypeScript
41 lines
996 B
TypeScript
|
import React from 'react';
|
||
|
import { SingleLine, SimpleButton } from '../src/components/generic/Styled';
|
||
|
import styled from 'styled-components';
|
||
|
import { InterfaceSettings } from '../src/views/settings/Interface';
|
||
|
import { textColor } from '../src/styles/Themes';
|
||
|
import { AccountSettings } from '../src/views/settings/Account';
|
||
|
import { DangerView } from '../src/views/settings/Danger';
|
||
|
import { CurrentSettings } from '../src/views/settings/Current';
|
||
|
import { SyncSettings } from '../src/views/settings/Sync';
|
||
|
|
||
|
export const ButtonRow = styled.div`
|
||
|
width: auto;
|
||
|
display: flex;
|
||
|
`;
|
||
|
|
||
|
export const SettingsLine = styled(SingleLine)`
|
||
|
margin: 8px 0;
|
||
|
`;
|
||
|
|
||
|
export const SettingsButton = styled(SimpleButton)`
|
||
|
padding: 8px;
|
||
|
|
||
|
&:hover {
|
||
|
border: 1px solid ${textColor};
|
||
|
}
|
||
|
`;
|
||
|
|
||
|
const SettingsView = () => {
|
||
|
return (
|
||
|
<>
|
||
|
<InterfaceSettings />
|
||
|
<SyncSettings />
|
||
|
<CurrentSettings />
|
||
|
<AccountSettings />
|
||
|
<DangerView />
|
||
|
</>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export default SettingsView;
|