chowa
Version:
UI component library based on React
29 lines (28 loc) • 866 B
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 ClearButtonProps {
onClick?: (e: React.MouseEvent<HTMLElement>) => void;
visible?: boolean;
absolute?: boolean;
}
declare class ClearButton extends React.PureComponent<ClearButtonProps, any> {
static propTypes: {
onClick: PropTypes.Requireable<(...args: any[]) => any>;
visible: PropTypes.Requireable<boolean>;
absolute: PropTypes.Requireable<boolean>;
};
static defaultProps: {
visible: boolean;
absolute: boolean;
};
render(): JSX.Element;
}
export default ClearButton;