(
props: RACLinkProps & {staticColor?: 'auto' | 'white'; styles?: StyleString}
)
| 148 | }); |
| 149 | |
| 150 | export function HeaderLink( |
| 151 | props: RACLinkProps & {staticColor?: 'auto' | 'white'; styles?: StyleString} |
| 152 | ) { |
| 153 | let {staticColor, styles, ...otherProps} = props; |
| 154 | let ref = useRef(null); |
| 155 | return ( |
| 156 | <BaseLink |
| 157 | {...otherProps} |
| 158 | ref={ref} |
| 159 | className={renderProps => mergeStyles(linkStyle({...renderProps, staticColor}), styles)} |
| 160 | style={pressScale(ref)} |
| 161 | /> |
| 162 | ); |
| 163 | } |
nothing calls this directly
no test coverage detected