front/src/routes/integration/all/tuya/device-page/EmptyState.jsx
import { Text } from 'preact-i18n';
import { Link } from 'preact-router/match';
import cx from 'classnames';
import style from './style.css';
const EmptyState = () => (
<div class="col-md-12">
<div class={cx('text-center', style.emptyStateDivBox)}>
<Text id="integration.tuya.device.noDeviceFound" />
<div class="mt-5">
<Text id="integration.tuya.discoverDeviceDescr" />
<Link href="/dashboard/integration/device/tuya/discover">
<button class="btn btn-outline-primary ml-2">
<Text id="integration.tuya.discoverTab" /> <i class="fe fe-radio" />
</button>
</Link>
</div>
</div>
</div>
);
export default EmptyState;