import { FC, HTMLAttributes } from "react"; import styles from "./styles.module.css"; interface MaxCharactersMessageTextProps extends HTMLAttributes { includeTitle?: boolean; useLinks?: boolean; useMyCharactersLink?: boolean; } export const MaxCharactersMessageText: FC = ({ includeTitle, useLinks, useMyCharactersLink, ...props }) => { const subscribe = useLinks ? ( Subscribe ) : ( "Subscribe" ); const myCharacters = useMyCharactersLink || useLinks ? ( My Characters ) : ( "My Characters" ); return ( {includeTitle && ( Oops! Your character slots are full. )} You're quite the adventurer! {subscribe} to unlock additional slots, or return to {myCharacters} and delete a character to make room. ); };
Oops! Your character slots are full.
You're quite the adventurer! {subscribe} to unlock additional slots, or return to {myCharacters} and delete a character to make room.