import { Input, Text, View } from '@tarojs/components'
import { useState } from 'react'
import classNames from 'classnames'
import styles from './index.module.scss'
import Remark from '@/components/remark'

interface Param {
  value: string
  placeholder: string
}
export default (props: Param) => {
  return <>
    <View className={styles.remarks} >
      <View className={styles.remarks_header}>
        <Text>备注信息</Text>
        <Text></Text>
      </View>
      <View className={styles.remarks_message}>
        <Text className={classNames(props.value ? styles.valuable : '')}>{props.value || props.placeholder}</Text>
      </View>
    </View>
  </>
}
