1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
| 'use client'
| import type { FC } from 'react'
| import React from 'react'
|
| type Props = {
| title: string
| content: string | JSX.Element
| }
|
| const InfoPanel: FC<Props> = ({
| title,
| content,
| }) => {
| return (
| <div>
| <div className='px-[5px] py-[3px] bg-workflow-block-parma-bg rounded-md'>
| <div className='text-text-secondary system-2xs-semibold-uppercase uppercase'>
| {title}
| </div>
| <div className='text-text-tertiary system-xs-regular break-words'>
| {content}
| </div>
| </div>
| </div>
| )
| }
| export default React.memo(InfoPanel)
|
|