Skip to content
Snippets Groups Projects
Commit a0fc73ca authored by Alexandru Munteanu's avatar Alexandru Munteanu
Browse files

feat(validatedTextField): add overrides

parent daa2e388
No related branches found
No related tags found
1 merge request!43Sprint #19
import { css } from 'styled-components'
import { th } from '@pubsweet/ui-toolkit'
export default {
MessageWrapper: css``,
ErrorMessage: css`
font-family: ${th('fontReading')};
`,
}
import Button from './Button'
import TextField from './TextField'
import ValidatedTextField from './ValidatedTextField'
export { Button, TextField }
export { Button, TextField, ValidatedTextField }
......@@ -2,7 +2,7 @@
import { injectGlobal } from 'styled-components'
import './fonts/index.css'
import { Button, TextField } from './elements'
import { Button, TextField, ValidatedTextField } from './elements'
injectGlobal`
body {
......@@ -112,6 +112,7 @@ const hindawiTheme = {
ui: {
Button,
TextField,
ValidatedTextField,
},
},
}
......
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