1.0.8 • Published 6 years ago
scrivito-undraw v1.0.8
Scrivito Undraw
A React Component/Scrivito widget for the wonderful illustrations from Undraw.
Installation
Open your terminal.
$ cd to your Scrivito project
$ npm install scrivito-undrawImport the widget in your javascript src/Widgets/index.js.
Add this line to your index.js:
import "scrivito-undraw";Also add the styling of the widget to your app. This can be done by either loading it via css-loader (e.g. in index.js or Widgets/index.js):
import "scrivito-undraw/index.css";Or by including the styling to your style sheets (e.g. in index.scss):
@import "~scrivito-undraw/index.css";Widget properties
In the widget properties you can set:
- Illustration from Undraw