import { Col, Drawer, Row, Typography } from 'antd' import Settings from './settings/index' import { RootState, useRootSelector } from 'store' import './index.os.less' type AppSettingsProps = { open?: boolean; onClose?: (value: boolean) => void } const AppSettings = ({ open = false, onClose = () => {}, }: AppSettingsProps) => { const sidebarPosition = useRootSelector( (state: RootState) => state.ui.sidebarPosition, ) return ( onClose(false)} closeIcon={false} className="app-settings-drawer" contentWrapperStyle={{ width: 378 }} bodyStyle={{ padding: '24px 0px' }} placement={sidebarPosition} > Application Settings ) } export default AppSettings