sykpcomposer 1.1.0 → 1.1.1
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 +1 -1
- package/readme.md +19 -13
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
npm i sykpcomposer --save
|
|
1
|
+
# SkypComposer Editor
|
|
3
2
|
|
|
3
|
+
## How to install ?
|
|
4
|
+
npm i sykpcomposer --save
|
|
4
5
|
|
|
5
|
-
### In order to import the package as a React Component
|
|
6
|
-
import { Editor } from 'sykpcomposer';
|
|
7
6
|
|
|
7
|
+
## Example Usage
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
```
|
|
10
|
+
import { Editor } from 'sykpcomposer';
|
|
11
|
+
|
|
12
|
+
function yourComponent(){
|
|
13
|
+
return(
|
|
14
|
+
<div>
|
|
15
|
+
<Editor />
|
|
16
|
+
</div>
|
|
17
|
+
)
|
|
18
|
+
}
|
|
19
|
+
```
|
|
20
|
+
## Styles
|
|
18
21
|
|
|
22
|
+
| Style Property | Value |
|
|
23
|
+
| ------------- |:-------------:|
|
|
24
|
+
| left foo | value comes here |
|