(props: Props)
| 7 | } |
| 8 | |
| 9 | const Button: FC = (props: Props) => { |
| 10 | const { data, id } = props |
| 11 | return ( |
| 12 | <button id={id} className='e-button' {...data}>{data && data.children ? data.children : "默认按钮"}</button> |
| 13 | ) |
| 14 | } |
| 15 | |
| 16 | export default Button |
nothing calls this directly
no outgoing calls
no test coverage detected