\n {contentValue\n ? contentValue(ContentType.Error, error.rule)\n : error.message}\n
,\n );\n });\n return children.length ? (\n{suffix}
\n\n {suffix}\n
\n )\n ) : (\n ''\n )}\n {showErrors ? (\n{suffix}
\n\n {suffix}\n
\n )\n ) : (\n ''\n )}\n {showErrors ? (\n{suffix}
\n\n {suffix}\n
\n )\n ) : (\n ''\n )}\n{suffix}
\n\n {suffix}\n
\n )\n ) : (\n ''\n )}\n {children}\n {showErrors ? (\n{suffix}
\n\n {suffix}\n
\n )\n ) : (\n ''\n )}\n {children}\n {showErrors ? (\n{suffix}
\n\n {suffix}\n
\n )\n ) : (\n ''\n )}\n {showErrors ? (\n{suffix}
\n\n {suffix}\n
\n )\n ) : (\n ''\n )}\n {children}\n {showErrors ? (\n{suffix}
\n\n {suffix}\n
\n )\n ) : (\n ''\n )}\n {children}\n {showErrors ? (\n{suffix}
\n\n {suffix}\n
\n )\n ) : (\n ''\n )}\n {children}\n {showErrors ? (\n{suffix}
\n\n {suffix}\n
\n )\n ) : (\n ''\n )}\n {children}\n {showErrors ? (\n{suffix}
\n\n {suffix}\n
\n )\n ) : (\n ''\n )}\n {children}\n {showErrors ? (\n{suffix}
\n\n {suffix}\n
\n )\n ) : (\n ''\n )}\n {children}\n {showErrors ? (\n\n {item}\n
\n ))}\n \n\n \n\n {children}\n
\n )}\n{suffix}
\n\n {suffix}\n
\n )\n ) : (\n ''\n )}\n {children}\n {showErrors ? (\n\n {lookupForm.addressInput.value[key]}\n
\n ),\n )}\n \n\n \n\n
\n {props.location.pathname}\n {props.location.hash}\n
\n {\n this.element = ref;\n }}\n >\n {this.props.children}
\n
\n );\n }\n}\n\nCodeExample.propTypes = {\n children: PropTypes.string.isRequired,\n};\n\nexport default CodeExample;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport CodeExample from './CodeExample';\n\nclass Example extends React.Component {\n constructor(props) {\n super(props);\n this.state = { showCode: false };\n }\n\n toggleCode = event => {\n event.preventDefault();\n this.setState(prevState => {\n return { showCode: !prevState.showCode };\n });\n };\n\n render() {\n const { showCode } = this.state;\n const { code, description, name } = this.props.example;\n // Must use CommonJS require to dynamically require because ES Modules must be statically analyzable.\n const ExampleComponent = require(`../examples/shared/components/${\n this.props.componentName.split('.')[0]\n }/${name}`).default;\n return (\n \n \n {showCode ? 'Hide' : 'Show'} Code\n \n
\n\n {showCode &&Name | \nDescription | \nType | \nDefault | \nRequired | \n
---|---|---|---|---|
{key} | \n{props[key].description} | \n{props[key].type.name} | \n\n {props[key].defaultValue && props[key].defaultValue.value}\n | \n{props[key].required && 'X'} | \n
{description}
\n\n\n
\n
\n
\n
\n {FormatBody(replyMessageStatus.Conversation.Messages[0].Body)}\n
\n\n
{FormatBody(item.Body)}
\n\n {RGBBackgroundColor}
{HexBackgroundColour}\n
\n Defined within{' '}\n \n sass/abstracts/colours.scss\n
\n
\n This is a normal paragraph. On static pages, it’s designed for\n readability and optimising the number of characters per line.{' '}\n This is an inline link and{' '}\n \n this is the link state on hover\n \n .\n
\n\n This is a lead paragraph for text that requires more emphasis. It\n might be used as a longer-form tagline or subheading for a page or\n content section. It may have a slightly larger font size and\n line-height.\n
\n\n Only use bold in small amounts at a time, too much\n together and it might not have the desired effect.\n
\n\n Smaller text is used in various places around the site.\n
\n\n Defined within{' '}\n \n sass/components/typography.scss\n
\n
\n Defined within{' '}\n \n sass/components/typography.scss\n
\n
\n There is a component made for the unordered lists{' '}\n defined within reactstrap. To see an interactive technical\n specification for this component, go to{' '}\n \n https://reactstrap.github.io/components/listgroup/\n \n .\n
\n\n Defined within{' '}\n \n sass/components/badges.scss\n
\n
\n There is a component made for the side link defined\n within shared/components/sideLink.js
. There is no\n interactive technical guide for this. To see its usage, go to{' '}\n styleguide/components/Badges.js
.\n
\n Defined within{' '}\n \n sass/components/pagination.scss\n
\n
\n There is a component made for pagination defined\n within shared/components/Pagination.js
. To see an\n interactive technical specification for this component,{' '}\n click here.\n
\n Defined within{' '}\n \n sass/components/alerts.scss\n
\n
\n There is a component made for the alerts defined\n within reactstrap. To see an interactive technical specification for\n this component, go to{' '}\n \n https://reactstrap.github.io/components/alerts/\n \n .\n
\nThis is a button to click
\n \nThis is a button to click
\n \nThis is a button to click
\n \n\n Defined within{' '}\n \n sass/components/tabs.scss\n
\n
\n There is a component made for tabs defined within{' '}\n demo/account-type-savings.js
and{' '}\n demo/account-type-loan.js
. There is no interactive\n technical guide for this. To see its usage, go to{' '}\n styleguide/components/Tabs.js
.\n
\n \n Please note this is a very complicated set of components, so it is\n advisable to look at the example before building your own.\n \n
\n\n \n\n Defined within{' '}\n \n sass/components/tables.scss\n
\n
\n There is a component made for tables defined within\n reactstrap. To see an interactive technical specification for this\n component, go to{' '}\n \n https://reactstrap.github.io/components/tables/\n \n .\n
\nDate | \nType | \nPayee | \nAmount | \n
---|---|---|---|
08 May 2014 | \nOne-off Payment | \nNatwest | \n£100.00 | \n
10 Jun 2014 | \nTransfer | \nCurrent Account | \n£pound;500.00 | \n
05 Aug 2014 | \nDirect debit Electricity bill | \nBritish Gas | \n£120.00 | \n
Payee | \nJo Bloggs | \nCurrent Account | \n
---|---|---|
Payee | \nJane Doe | \nSavings Account | \n
Payee | \nJohn Smith | \nLoan Account | \n
\n Defined within{' '}\n \n sass/components/forms.scss\n
\n
\n NB: Every form element requires a label. If for some\n reason you wish to hide the label, you need to add copy text for the\n label and add this to the component:\n
\n labelClassName='sr-only'
\n
\n Defined within{' '}\n \n sass/components/cards.scss\n
\n
\n
\n
\n
\n
\n
\n
{suffix}
: ''}\\r\\n {showErrors ?{suffix}
: ''}\\r\\n {children}\\r\\n {showErrors ?{suffix}
: ''}\\r\\n {children}\\r\\n {showErrors ?{suffix}
: ''}\\r\\n {showErrors ?\\r\\n {error.message}\\r\\n
,\\r\\n );\\r\\n });\\r\\n return children.length ? (\\r\\n{suffix}
: ''}\\r\\n {children}\\r\\n {showErrors ?{suffix}
: ''}\\r\\n {children}\\r\\n {showErrors ?\\r\\n Page {currentPage} of {totalPages}\\r\\n
\\r\\n \\r\\n{suffix}
: ''}\\r\\n{suffix}
: ''}\\r\\n {children}\\r\\n {showErrors ?{suffix}
: ''}\\r\\n {children}\\r\\n {showErrors ?{suffix}
: ''}\\r\\n {children}\\r\\n {showErrors ?\n //
\n //
\n //
\n
\n
\n \n
\n {diffMonth}\n
\n {diffDays}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n * \n
\n
\n
\n
\n
\n {data && data['payeeName'] ? data['payeeName'] : ''}\n
\n\n {data && data['payeeAccount'] ? data['payeeAccount'] : ''}\n
\n \n{toAccount.AccountName}
\n{toAccount.AccountNumber}
\n{toAccount.SortCode}
\n \nWorldpay iframe goes here
\n\n\n
\n
\n
\n
{categoryDescription}
\n ) : null}\n {this.getCategoryItemAddContent(category, categoryType)}\n {items}\n\n
\n
\n
\n
\n );\n }\n switch (status) {\n case 'EXPIRED_CODE':\n return (\n
\n );\n case 'Failed':\n return
\n );\n }\n }\n}\n\nTwoFactorFlow.propTypes = {\n challenge: PropTypes.object,\n destinations: PropTypes.any,\n resetChallenge: PropTypes.any,\n resetDestinations: PropTypes.any,\n status: PropTypes.any,\n};\n\nconst mapStateToProps = state => {\n const { twoFactorDefinition } = state;\n return {\n ...twoFactorDefinition,\n };\n};\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps,\n)(TwoFactorFlow);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { mapStateToProps, mapDispatchToProps } from '@myie/interact-two-factor';\nimport { Dialog, Content } from '@myie/interact-dom';\nimport TwoFactorFlow from './TwoFactorFlow';\n\nclass TwoFactorModal extends React.Component {\n render() {\n const { inProgress, children } = this.props;\n const title = (\n \n
\n
\n
\n