wwf
2 天以前 a430284aa21e3ae1f0d5654e55b2ad2852519cc2
app/components/workflow/nodes/_base/components/info-panel.tsx
@@ -1,10 +1,10 @@
'use client'
import type { FC, ReactNode } from 'react'
import type { FC } from 'react'
import React from 'react'
type Props = {
  title: string
  content: ReactNode
  content: string | JSX.Element
}
const InfoPanel: FC<Props> = ({
@@ -13,11 +13,11 @@
}) => {
  return (
    <div>
      <div className='flex flex-col gap-y-0.5 rounded-md bg-workflow-block-parma-bg px-[5px] py-[3px]'>
        <div className='system-2xs-semibold-uppercase uppercase text-text-secondary'>
      <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='system-xs-regular break-words text-text-tertiary'>
        <div className='text-text-tertiary system-xs-regular break-words'>
          {content}
        </div>
      </div>