(props)
| 10 | }; |
| 11 | |
| 12 | function PopoverHeader(props) { |
| 13 | const { className, cssModule, tag: Tag = 'h3', ...attributes } = props; |
| 14 | |
| 15 | const classes = mapToCssModules( |
| 16 | classNames(className, 'popover-header'), |
| 17 | cssModule, |
| 18 | ); |
| 19 | |
| 20 | return <Tag {...attributes} className={classes} />; |
| 21 | } |
| 22 | |
| 23 | PopoverHeader.propTypes = propTypes; |
| 24 |
nothing calls this directly
no test coverage detected
searching dependent graphs…