Skip to content
Snippets Groups Projects
Commit 7a20fb9f authored by Sinzeanu Demetriad's avatar Sinzeanu Demetriad
Browse files

docs:

parent 14fc6036
No related branches found
No related tags found
3 merge requests!222Sprint #26,!217Sprint #26,!191Hin 1116 documentation
...@@ -55,10 +55,10 @@ const Tag = styled.div` ...@@ -55,10 +55,10 @@ const Tag = styled.div`
` `
Tag.propTypes = { Tag.propTypes = {
/** if true then object gets properties. */ /** Old status of the corresponding user. */
oldStatus: PropTypes.bool, oldStatus: PropTypes.bool,
/** if true then object gets properties. */ /** New status of the corresponding user. */
status: PropTypes.boo, status: PropTypes.bool,
} }
Tag.defaultProps = { Tag.defaultProps = {
......
import { get } from 'lodash' import { get } from 'lodash'
import PropTypes from 'prop-types'
import { th } from '@pubsweet/ui-toolkit' import { th } from '@pubsweet/ui-toolkit'
import styled, { css } from 'styled-components' import styled, { css } from 'styled-components'
...@@ -33,6 +34,14 @@ const Textarea = styled.textarea` ...@@ -33,6 +34,14 @@ const Textarea = styled.textarea`
background-color: ${th('colorBackgroundHue')}; background-color: ${th('colorBackgroundHue')};
} }
` `
Textarea.propTypes = {
/** The minimum height that the text box should have */
minHeight: PropTypes.number,
}
Textarea.defaultProps = {
minHeight: 10,
}
/** @component */ /** @component */
export default Textarea export default Textarea
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