: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
import React from 'react';
import { styled } from '@linaria/react';
import { MARIGOLD_LIGHT, MARIGOLD_MEDIUM, OBSIDIAN } from './colors';
const AlertContainer = styled.div`
background-color: ${MARIGOLD_LIGHT};
border-color: ${MARIGOLD_MEDIUM};
justify-content: space-between;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
font-family: 'Lexend Deca';
const Message = styled.p`
font-family: 'Lexend Deca';
const MessageContainer = styled.div`
interface IUIAlertProps {
export default function UIAlert({
}: React.PropsWithChildren<IUIAlertProps>) {
<Title>{titleText}</Title>
<Message>{titleMessage}</Message>