/** * The Semi Foundation / Adapter architecture split was inspired by Material Component For Web. (https://github.com/material-components/material-components-web) * We re-implemented our own code based on the principle and added more functions we need according to actual needs. */ import React, { Component, ReactNode } from 'react'; import { DefaultAdapter } from '@douyinfe/semi-foundation/lib/es/base/foundation'; import { VALIDATE_STATUS } from '@douyinfe/semi-foundation/lib/es/base/constants'; import { ArrayElement } from './base'; export type ValidateStatus = ArrayElement; export interface BaseProps { style?: React.CSSProperties; className?: string; children?: ReactNode | undefined | any; } export default class BaseComponent

extends Component { static propTypes: {}; static defaultProps: {}; cache: any; foundation: any; constructor(props: P); componentDidMount(): void; componentWillUnmount(): void; get adapter(): DefaultAdapter; isControlled: (key: any) => boolean; log(text: string, ...rest: any): any; getDataAttr(props?: any): {}; setStateAsync: (state: Partial) => Promise; }