12345678910111213141516171819 |
- import React from 'react'
- import styles from './style.module.less'
- export default function DetialTable(props) {
- const { title, children, openBtn = false } = props
- return (
- <div className={styles.headerTitle}>
- <div className={styles.titleLeftIcon} />
- <div className={styles.titleLeftName}>{ title }</div>
- {
- openBtn &&
- <div className={styles.editBtn}>
- {/* <i /> */}
- {/* <slot name="handleSlot" /> */}
- {children}
- </div>
- }
- </div>
- );
- }
|