fix: storybook
This commit is contained in:
parent
853f9f1fb4
commit
221666783d
|
@ -6,7 +6,7 @@ import Hotbar from '@/react-components/hotbar.jsx';
|
||||||
import DomDecorator from './dom-decorator.jsx';
|
import DomDecorator from './dom-decorator.jsx';
|
||||||
|
|
||||||
const slots = Array(10).fill({});
|
const slots = Array(10).fill({});
|
||||||
slots[2] = {qty: 24, source: '/assets/potion'};
|
slots[2] = {qty: 24, icon: '/assets/potion/icon.png'};
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
title: 'Dom/Inventory/Hotbar',
|
title: 'Dom/Inventory/Hotbar',
|
||||||
|
|
|
@ -31,7 +31,7 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
args: {
|
args: {
|
||||||
source: '/assets/potion',
|
icon: '/assets/potion/icon.png',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user