UNPKG
@pubsweet/ui
Version:
latest (12.6.15)
next (10.2.0)
12.6.15
12.6.14
12.6.13
12.6.12
12.6.11
12.6.10
12.6.9
12.6.8
12.6.7
12.6.6
12.6.5
12.6.4
12.6.3
12.6.2
12.6.1
12.6.0
12.5.0
12.4.0
12.3.4
12.3.3
12.3.2
12.3.1
12.3.0
12.2.1
12.2.0
12.1.1
12.1.0
12.0.1
12.0.0
11.0.0
10.3.10
10.3.9
10.3.8
10.3.7
10.3.6
10.3.5
10.3.4
10.3.3
10.3.2
10.3.1
10.3.0
10.2.1
10.2.0
10.1.0
10.0.4
10.0.3
10.0.2
10.0.1
10.0.0
9.1.3
9.1.2
9.1.1
9.1.0
9.0.3
9.0.3-alpha.0
9.0.2
9.0.1
9.0.0
8.8.1-alpha.0
8.8.0
8.7.1
8.7.0
8.6.2
8.6.1
8.6.0
8.5.0
8.4.0
8.3.0
8.2.0
8.1.0
8.0.1
8.0.0
7.0.0
6.0.1
6.0.0
5.0.1
5.0.0
4.1.3
4.1.2
4.1.1
4.1.0
4.0.0
3.3.4
3.3.3
3.3.2
3.3.1
3.3.0
3.2.1
3.2.0
3.1.0
3.0.1
3.0.0
2.1.1
2.1.0
2.0.0
1.0.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.3
0.1.2
0.1.1
React component library for use in pubsweet apps
@pubsweet/ui
/
src
/
atoms
/
ErrorText.js
14 lines
(10 loc)
•
234 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import
styled
from
'styled-components'
import
{ th,
override
}
from
'@pubsweet/ui-toolkit'
const
ErrorText
= styled.
div
` color:
${th(
'colorError'
)}
;
${
override
(
'ui.ErrorText'
)}
; `
/** *
@component
*/
export
default
ErrorText