import React, {Component} from 'react'; type CardProps = { title: string, content: string, logo?: JSX.Element, } export class SidebarCard extends Component { constructor(props: CardProps) { super(props) } render() { return (
{this.props.logo} {this.props.title}
{this.props.content}
) } }