Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/leadin/scripts/shared/UICompon...
File: UIButton.ts
import { styled } from '@linaria/react';
[0] Fix | Delete
import { HEFFALUMP, LORAX, OLAF } from './colors';
[1] Fix | Delete
[2] Fix | Delete
interface IButtonProps {
[3] Fix | Delete
use?: string;
[4] Fix | Delete
}
[5] Fix | Delete
[6] Fix | Delete
export default styled.button<IButtonProps>`
[7] Fix | Delete
background-color:${props => (props.use === 'tertiary' ? HEFFALUMP : LORAX)};
[8] Fix | Delete
border: 3px solid ${props => (props.use === 'tertiary' ? HEFFALUMP : LORAX)};
[9] Fix | Delete
color: ${OLAF}
[10] Fix | Delete
border-radius: 3px;
[11] Fix | Delete
font-size: 14px;
[12] Fix | Delete
line-height: 14px;
[13] Fix | Delete
padding: 12px 24px;
[14] Fix | Delete
font-family: 'Lexend Deca', Helvetica, Arial, sans-serif;
[15] Fix | Delete
font-weight: 500;
[16] Fix | Delete
white-space: nowrap;
[17] Fix | Delete
`;
[18] Fix | Delete
[19] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function