monica-alexandria 3.6.21 → 3.6.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monica-alexandria",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.22",
|
|
4
4
|
"description": "A styled-components styles library for Doitforme platorm and universal tweeks to create your own new styled library for your project",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import styled from 'styled-components'
|
|
3
|
+
import { IconSvg } from '../../svg/IconSvg'
|
|
3
4
|
|
|
4
5
|
const Alert = styled.div`
|
|
5
6
|
|
|
@@ -9,10 +10,17 @@ const AlertLoading = styled(Alert)`
|
|
|
9
10
|
|
|
10
11
|
`
|
|
11
12
|
|
|
13
|
+
const AlertIcon = styled.div`
|
|
14
|
+
|
|
15
|
+
`
|
|
16
|
+
|
|
12
17
|
export const Alert_Loading = (props) => {
|
|
13
18
|
|
|
14
19
|
return (
|
|
15
20
|
<AlertLoading>
|
|
21
|
+
<AlertIcon>
|
|
22
|
+
<IconSvg icon='Loading' />
|
|
23
|
+
</AlertIcon>
|
|
16
24
|
<p>{props.message}</p>
|
|
17
25
|
</AlertLoading>
|
|
18
26
|
)
|
|
@@ -21,5 +21,6 @@ Google.args = {
|
|
|
21
21
|
defaultValue: '(optional) default value of the input',
|
|
22
22
|
sanitize : '(boolean) greeklish activation',
|
|
23
23
|
placeholder : 'type in something',
|
|
24
|
-
|
|
24
|
+
getResults: '(results)=>{{your setState}}(result)',
|
|
25
|
+
value: 'get input value'
|
|
25
26
|
}
|