import React from 'react' ; import { Text , Icon , Box , Inline , IconMapIcon } from '@island.is/island-ui/core' ; export interface SectionTitleProps { title : string ; icon : IconMapIcon ; } export const SectionTitle = ( { title , icon } ) => ( < Box paddingBottom = { 4 } > < Inline space = { 2 } alignY = "bottom" > < Icon color = "blue400" icon = { icon } size = "large" type = "outline" / > < Text variant = "h3" > { title } < /Text> < /Inline> < /Box>); export default SectionTitle ;