import React from 'react'; import { FastField, Field } from 'formik'; import { FormGroup, Checkbox } from '@blueprintjs/core'; import styled from 'styled-components'; import { FormattedMessage as T } from 'components'; import { Row, Col, FieldHint } from '../../../components'; /** * Balance sheet header - Comparison panal. */ export default function BalanceSheetHeaderComparisonPanal() { return ( {/*------------ Percentage -----------*/} {({ field }) => ( }> } {...field} /> )} {({ field }) => ( }> } {...field} /> )} {/*------------ Previous Year -----------*/} {({ field }) => ( }> } {...field} /> )} {({ field }) => ( }> } {...field} /> )} {({ field }) => ( }> } {...field} /> )} {/*------------ Previous Period -----------*/} {({ field }) => ( }> } {...field} /> )} {({ field }) => ( }> } {...field} /> )} {({ field }) => ( }> } {...field} /> )} ); } const BalanceSheetComparisonWrap = styled.div` .row { display: flex; flex-wrap: nowrap; margin-left: -0.3rem; margin-right: -0.3rem; .col { padding-left: 0.3rem; padding-right: 0.3rem; .bp3-form-group { margin-bottom: 0; } } } `;