import * as React from 'react';
import NoData from '@beisen-phoenix/icon/lib/no-data';
import utils from '@beisen-phoenix/common-utils';
export interface PlaceHolderProps {
    translation: any;
}
const classes = utils.BEMClass('lookup-list')

const placeholderCls = classes({
    element:'placeholder'
})

const txtCls = classes({
    element:'placeholder-text'
})

export default class PlaceHolder extends React.Component<PlaceHolderProps, any> {

    constructor(props) {
        super(props);
    }

    render () {

        let { translation } = this.props

        return (
            <div className={placeholderCls}>
                <NoData width="76" height="48"/>
                <div className={txtCls}>{translation.noData}</div>
            </div>
        )
    }
}
