wwf
昨天 a430284aa21e3ae1f0d5654e55b2ad2852519cc2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
'use client'
import type { FC } from 'react'
import React from 'react'
import cn from '@/utils/classnames'
 
type Props = {
  className?: string
  title: string
  children: JSX.Element
}
 
const Field: FC<Props> = ({
  className,
  title,
  children,
}) => {
  return (
    <div className={cn(className)}>
      <div className='text-text-secondary system-sm-semibold leading-8'>{title}</div>
      <div>{children}</div>
    </div>
  )
}
export default React.memo(Field)