Skip to content
Snippets Groups Projects
Commit 0cf8ef90 authored by Mihail Hagiu's avatar Mihail Hagiu
Browse files

docs(SubmitRevision): Merge with origin

parents 649d7a74 14fc6036
No related branches found
No related tags found
3 merge requests!222Sprint #26,!217Sprint #26,!191Hin 1116 documentation
import React, { Fragment } from 'react' import PropTypes from 'prop-types'
import 'react-tippy/dist/tippy.css' import 'react-tippy/dist/tippy.css'
import { Tooltip } from 'react-tippy' import { Tooltip } from 'react-tippy'
import React, { Fragment } from 'react'
import { Text, Row } from 'pubsweet-component-faraday-ui' import { Text, Row } from 'pubsweet-component-faraday-ui'
import { ThemeProvider, withTheme } from 'styled-components' import { ThemeProvider, withTheme } from 'styled-components'
...@@ -25,4 +26,13 @@ const TextTooltip = ({ theme = {}, children, ...rest }) => ( ...@@ -25,4 +26,13 @@ const TextTooltip = ({ theme = {}, children, ...rest }) => (
</Tooltip> </Tooltip>
) )
TextTooltip.propTypes = {
/** User can hover over an item, without clicking it, and a new window will appear with a new title */
title: PropTypes.string,
}
TextTooltip.defaultProps = {
title:
'β-Carboline Silver Compound Binding Studies with Human Serum Albumin: A Comprehensive Multispectroscopic Analysis and Molecular Modeling Study',
}
export default withTheme(TextTooltip) export default withTheme(TextTooltip)
...@@ -80,7 +80,7 @@ const initialFiles = { ...@@ -80,7 +80,7 @@ const initialFiles = {
} }
WizardFiles.propTypes = { WizardFiles.propTypes = {
/** Passes properties for the manuscript file. */ /** Fragments manuscript file. */
manuscripts: PropTypes.arrayOf( manuscripts: PropTypes.arrayOf(
PropTypes.shape({ PropTypes.shape({
/** Id of added manuscript file. */ /** Id of added manuscript file. */
...@@ -91,7 +91,7 @@ WizardFiles.propTypes = { ...@@ -91,7 +91,7 @@ WizardFiles.propTypes = {
size: PropTypes.number, size: PropTypes.number,
}), }),
), ),
/** Passes properties for the cover letter file. */ /** Fragments cover letter file. */
coverLetter: PropTypes.arrayOf( coverLetter: PropTypes.arrayOf(
PropTypes.shape({ PropTypes.shape({
/** Id of added cover letter file. */ /** Id of added cover letter file. */
...@@ -102,7 +102,7 @@ WizardFiles.propTypes = { ...@@ -102,7 +102,7 @@ WizardFiles.propTypes = {
size: PropTypes.number, size: PropTypes.number,
}), }),
), ),
/** Passes properties for supplementary file. */ /** Fragments supplementary file. */
supplementary: PropTypes.arrayOf( supplementary: PropTypes.arrayOf(
PropTypes.shape({ PropTypes.shape({
/** Id of added cover letter file. */ /** Id of added cover letter file. */
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment