import "./card.css"; export default (props: { id: number; title: string; text: string }) => { return (

{props.title}

{props.text.slice(props.title.length + 1)}

); };