Fix the bugs in assetStorage
This commit is contained in:
parent
33235e9cd7
commit
2b10e46441
11 changed files with 176 additions and 32 deletions
|
@ -8,12 +8,12 @@ import React, {useEffect, useState} from 'react'
|
|||
import {render} from 'react-dom'
|
||||
import styled from 'styled-components'
|
||||
|
||||
studio.initialize()
|
||||
const project = getProject('Image type playground', {
|
||||
assets: {
|
||||
baseUrl: 'http://localhost:3000',
|
||||
baseUrl: '/',
|
||||
},
|
||||
})
|
||||
studio.initialize()
|
||||
const sheet = project.sheet('Image type')
|
||||
|
||||
const Wrapper = styled.div`
|
||||
|
@ -35,6 +35,7 @@ const ImageTypeExample: React.FC<{}> = (props) => {
|
|||
image2: types.image('', {
|
||||
label: 'another texture',
|
||||
}),
|
||||
// audio: types.__genericAsset(''),
|
||||
something: 'asdf',
|
||||
color: types.rgba(),
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue