(props: CenterBaselineProps)
| 48 | * </span>; |
| 49 | */ |
| 50 | export function CenterBaseline(props: CenterBaselineProps): ReactNode { |
| 51 | let domProps = filterDOMProps(props); |
| 52 | return ( |
| 53 | <div |
| 54 | {...domProps} |
| 55 | slot={props.slot} |
| 56 | style={props.style} |
| 57 | className={mergeStyles(styles, props.styles) + ' ' + centerBaselineBefore}> |
| 58 | {props.children} |
| 59 | </div> |
| 60 | ); |
| 61 | } |
| 62 | |
| 63 | export const centerBaselineBefore = css( |
| 64 | '&::before { content: "\u00a0"; width: 0; visibility: hidden }' |
nothing calls this directly
no test coverage detected