index.d.ts 599 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
import React from 'react';
import { SiderTheme } from 'antd/es/Layout/Sider';

export interface SettingModelState {
  navTheme: string | SiderTheme;
  primaryColor: string;
  layout: string;
  contentWidth: string;
  fixedHeader: boolean;
  autoHideHeader: boolean;
  fixSiderbar: boolean;
  menu: { disableLocal: boolean };
  title: string;
  pwa: boolean;
  iconfontUrl: string;
  colorWeak: boolean;
}

export interface SettingDrawerProps {
  setting?: SettingModelState;
  dispatch?: (args: any) => void;
}

export default class SettingDrawer extends React.Component<SettingDrawerProps, any> {}