@rpg-engine/long-bow 0.6.13 → 0.6.15
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/dist/components/Tutorial/TutorialStepper.d.ts +2 -2
- package/dist/long-bow.cjs.development.js +3 -2
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +3 -2
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Tutorial/TutorialStepper.tsx +8 -2
package/dist/long-bow.esm.js
CHANGED
|
@@ -20022,7 +20022,8 @@ var Container$x = /*#__PURE__*/styled.div.withConfig({
|
|
|
20022
20022
|
|
|
20023
20023
|
var TutorialStepper = function TutorialStepper(_ref) {
|
|
20024
20024
|
var lessons = _ref.lessons,
|
|
20025
|
-
onLessonFinish = _ref.onLessonFinish
|
|
20025
|
+
onLessonFinish = _ref.onLessonFinish,
|
|
20026
|
+
imageStyle = _ref.imageStyle;
|
|
20026
20027
|
var generateLessons = function generateLessons() {
|
|
20027
20028
|
return lessons.map(function (lesson, index) {
|
|
20028
20029
|
return {
|
|
@@ -20033,7 +20034,7 @@ var TutorialStepper = function TutorialStepper(_ref) {
|
|
|
20033
20034
|
className: "lesson-title"
|
|
20034
20035
|
}, lesson.title), lesson.image && React.createElement(LessonImage, {
|
|
20035
20036
|
className: "lesson-image",
|
|
20036
|
-
style:
|
|
20037
|
+
style: imageStyle
|
|
20037
20038
|
}, React.createElement("img", {
|
|
20038
20039
|
src: lesson.image,
|
|
20039
20040
|
alt: lesson.title
|