import Taro, { Component } from '@tarojs/taro'
import { View, Button, Image } from '@tarojs/components'
import './index.scss'
import { ComponentClass } from 'react'
type PageOwnProps = {
className?: string
image: string,
title?: string,
disabled?: boolean,
onClick?: any
fullImage?: boolean
}
type IProps = PageOwnProps
interface Index {
props: IProps;
}
class Index extends Component {
static options = {
addGlobalClass: true
}
handleClick = () => {
this.props.onClick()
}
render() {
return (
)
}
}
export default Index as ComponentClass