/* eslint-disable lines-around-comment */ // @ts-ignore import React from 'react'; import Button from '../../../base/ui/components/web/Button'; // @ts-ignore import AbstractPollsPane from '../AbstractPollsPane'; // @ts-ignore import type { AbstractProps } from '../AbstractPollsPane'; import PollCreate from './PollCreate'; // @ts-ignore import PollsList from './PollsList'; const PollsPane = (props: AbstractProps) => { const { createMode, onCreate, setCreateMode, t } = props; return createMode ? :
; }; /* * We apply AbstractPollsPane to fill in the AbstractProps common * to both the web and native implementations. */ // eslint-disable-next-line new-cap export default AbstractPollsPane(PollsPane);