Replies: 1 comment 1 reply
-
Could you provide a reproduction or what the error is, if you can't provide a repro? If it is a simple scenario, a Stackblitz can be quickly made from https://storybook.new I made a very simple Stackbltz example, to see if I get an error and it seems to work fine: https://stackblitz.com/edit/github-mbwd5e For reference, my Stackblitz example is just the following: import { CommonModule } from '@angular/common';
import { Component, input } from '@angular/core';
@Component({
selector: 'signal-ex',
standalone: true,
imports: [CommonModule],
template: `Input: {{ thing() }}`,
styleUrls: [],
})
export class SignalExComponent {
thing = input('initial value');
} import type { Meta, StoryObj } from '@storybook/angular';
import { SignalExComponent } from './signal-ex.component';
const meta: Meta<SignalExComponent> = {
component: SignalExComponent,
tags: ['autodocs'],
};
export default meta;
type Story = StoryObj<SignalExComponent>;
export const Primary: Story = {
args: {
thing: 'updated value',
},
}; |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
Since I have updated my current project to angular v17 and using the signal based inputs, the storybook not supported for it. throwing errors when building.
Describe the solution you'd like
provide the support for signal inputs asap
Describe alternatives you've considered
No response
Are you able to assist to bring the feature to reality?
yes, I can
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions