chowa
Version:
UI component library based on React
13 lines (12 loc) • 563 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';
export declare type OmitProps<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
export declare function otherProps(propTypes: React.WeakValidationMap<any>, props: React.Props<any>): React.Props<any>;
export declare function omitProps(props: React.Props<any>, omits: string[]): React.Props<any>;