import { StyledComponentClass } from 'styled-components'; import { ColorProp, Theme } from '../types'; interface PaperComp extends StyledComponentClass & { color?: string; position?: string; }, React.ClassAttributes & React.HTMLAttributes & Theme> { } declare const AppBar: PaperComp; export interface AppBarProps { /** * 指定AppBar的背景色 */ color?: ColorProp; /** * 指定定位类型 */ position?: 'static' | 'fixed' | 'absolute' | 'sticky'; } export default AppBar;