import { View } from '@tarojs/components';
import { Component, ReactNode } from 'react';
import { AtAccordion } from 'taro-ui';
export class ExpandItem extends Component {
state = {
open: false,
};
props = {
title: '',
content: ,
};
handleClick(value: boolean) {
this.setState({ open: value });
}
render(): ReactNode {
return (
{this.props.content}
);
}
}