import React from 'react'; import { css } from '@emotion/core'; import { Flex, Text } from '@rebass/emotion'; import { HTMLService } from 'lib'; import { FluidContainer } from 'utils/styles/mixins'; import theme, { breakpoints } from 'utils/theme'; import { getColumnSize } from 'utils/styles/grid'; import typography from 'utils/typography'; import { TextModuleProps } from '../../text-module.types'; const AsterDefault = ({data}: TextModuleProps): JSX.Element => { const {text, heading, alignment} = data; const positions: { [key: string]: string } = { centered: 'center', left: 'flex-start', right: 'flex-end' }; return ( {heading && {heading} } ); }; export default AsterDefault;