UNPKG

shineout

Version:

Shein 前端组件库

33 lines (32 loc) 1.7 kB
import React from 'react'; import { BaseSpinProps } from './Props'; declare const _default: { new (props: BaseSpinProps): { handleUpdate: () => void; componentWillUnmount(): void; render(): JSX.Element; context: any; setState<K extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly<BaseSpinProps> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<any>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly<BaseSpinProps>, nextState: Readonly<any>, nextContext: any): boolean; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly<BaseSpinProps>, prevState: Readonly<any>): any; componentDidUpdate?(prevProps: Readonly<BaseSpinProps>, prevState: Readonly<any>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly<BaseSpinProps>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly<BaseSpinProps>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly<BaseSpinProps>, nextState: Readonly<any>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly<BaseSpinProps>, nextState: Readonly<any>, nextContext: any): void; }; contextType?: React.Context<any> | undefined; }; export default _default;