import React from 'react'; import styled from 'styled-components'; import { Icon } from 'ts/components/icon'; import { Heading, Paragraph } from 'ts/components/text'; import { colors } from 'ts/style/colors'; export interface IHelpCalloutProps { heading?: string; description?: string; url?: string; } export const HelpCallout: React.FC = props => (
{props.heading} {props.description}
); HelpCallout.defaultProps = { heading: 'Need some help?', description: `Get in touch here and we’ll be happy to help.`, url: 'https://discordapp.com/invite/d3FTX3M', }; const HelpCalloutWrapper = styled.a.attrs({ target: '_blank', })` display: flex; align-items: center; padding: 25px 30px; margin-bottom: 1.875rem; background-color: ${colors.backgroundLight}; `;