Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Invalid config type #39

Open
stergosjk opened this issue Sep 13, 2021 · 2 comments
Open

Invalid config type #39

stergosjk opened this issue Sep 13, 2021 · 2 comments

Comments

@stergosjk
Copy link

My code is as follows in a tsx story file. Using XD latest version 43.0.12.14

import { withXD } from 'storybook-addon-xd-designs'

storiesOf('My stories', module)
.addDecorator(withXD)
.add('My awesome story', () => Hello, World!, {
design: {
artboardUrl: 'https://xd.adobe.com/view/92ad7ac9-94b7-4213-bd64-4c82e8da7dad-c7fe/'
}
})

Error message:
Invalid config type
That design config is not valid. Please check the documentation

@stergosjk
Copy link
Author

I realise the format of the URL is not in the specified format that is in the examples but this is the only format XD is giving us when selecting Development

@abarrows
Copy link

In our experience, the XD document must have "public" in the url. You appear to be trying to share a document and what the storybook addon is looking for is a creative cloud library.

I also remember that the ending slash can be troublesome. Try it without it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants