generated from unplugin/unplugin-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
status: help wantedGood idea, but the core developers will not work on it at the momentGood idea, but the core developers will not work on it at the momenttype: enhancementImproving upon an existing featureImproving upon an existing feature
Description
Hey, first, thanks for this awesome plugin!
I'm trying to integrate the figma design plugin though, and it doesn't appear the parameters object is being picked up? For comparison
const meta: Meta<typeof Button> = {
title: 'Example/Button',
component: Button,
parameters: {
design: {
type: 'figma',
url: '<tofigma>',
}
}
};
Correctly loads our designs in the design tab
<script>
const parameters = {
design: {
type: 'figma',
url: '<tofigma>',
}
}
</script>
<Stories
title="Example/Button2"
:component="Button"
:parameters="parameters" // <-- Not here
>
<Story
title="PrimarySS"
:parameters="parameters" // <-- nor here
>
<Button
label="Button"
:parameters="parameters" // really speculative now
>
Primary
</Button>
</Story>
I haven't dug much into the compilation process, but I was hoping/assuming that anything passed to Story
would be passed through to the output.
Any thoughts on this? With a few pointers I wouldn't mind taking a crack at this if it's unsupported ATM
JoJk0
Metadata
Metadata
Assignees
Labels
status: help wantedGood idea, but the core developers will not work on it at the momentGood idea, but the core developers will not work on it at the momenttype: enhancementImproving upon an existing featureImproving upon an existing feature