import * as React from 'react';
import GoodsAdd from './GoodsAdd';
interface IProps {
    onClose: () => void;
    onSuccess?: () => void;
    type:number
}
export default class CreateGoods extends React.Component<IProps, any> {
    constructor(props: any) {
        super(props);
        this.state = {
        };
    }

    render() {

        return (
            <div>
                <GoodsAdd onClose={this.props.onClose} onSuccess={this.props.onSuccess} type={this.props.type}/>
            </div>
        );
    }


}