import { View, Text } from '@tarojs/components'
import './CenterContentTitleModal.scss'

export default function Component(props: { children: React.ReactNode, title: string }) {
    return <View className='center_content'>
        <Text className='center_content_title'>{props.title}</Text>
        <View className='center_content_detail'>
            {
                props.children
            }
        </View>
    </View>
}