import * as React from "react"; import { IComponentProps } from "./BaseComponent"; import styled from "../constants/DefaultTheme"; const CalloutContainer = styled("span")` color: ${props => props.theme.primaryColor}; position: ${props => props.style.positionType}; left: ${props => { return props.style.xPosition + props.style.xPositionUnit; }}; top: ${props => { return props.style.yPosition + props.style.yPositionUnit; }}; `; class CalloutComponent extends React.Component { render() { return (

{this.props.heading}

{this.props.description}
); } } export interface ICalloutComponentProps extends IComponentProps { id?: string; heading?: string; description?: string; ellipsize?: boolean; } export default CalloutComponent;