mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Fix Storybook story for TextEditor
This commit is contained in:
@@ -1659,7 +1659,15 @@ storiesOf('TextEditor', module)
|
||||
.addDecorator(muiDecorator)
|
||||
.add('default', () => (
|
||||
<SerializedObjectDisplay object={textObject}>
|
||||
<TextEditor object={textObject} project={project} />
|
||||
<TextEditor
|
||||
object={textObject}
|
||||
project={project}
|
||||
resourceSources={[]}
|
||||
onChooseResource={source =>
|
||||
action('Choose resource from source', source)
|
||||
}
|
||||
resourceExternalEditors={[]}
|
||||
/>
|
||||
</SerializedObjectDisplay>
|
||||
));
|
||||
|
||||
|
Reference in New Issue
Block a user