chowa
Version:
UI component library based on React
40 lines (39 loc) • 1.19 kB
TypeScript
/**
* @license chowa v1.1.3
*
* Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn).
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import * as React from 'react';
import * as PropTypes from 'prop-types';
export interface SpinProps {
className?: string;
style?: React.CSSProperties;
md?: 'mt' | 'ml' | 'mr' | 'mb';
light?: boolean;
iconType?: string;
loading?: boolean;
loadingText?: string;
}
declare class Spin extends React.PureComponent<SpinProps, any> {
static propTypes: {
className: PropTypes.Requireable<string>;
style: PropTypes.Requireable<object>;
type: PropTypes.Requireable<string>;
md: PropTypes.Requireable<string>;
light: PropTypes.Requireable<boolean>;
iconType: PropTypes.Requireable<string>;
loading: PropTypes.Requireable<boolean>;
loadingText: PropTypes.Requireable<string>;
};
static defaultProps: {
light: boolean;
loading: boolean;
};
private singleSpin;
private wrapperSpin;
render(): React.ReactNode;
}
export default Spin;