Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
accessibilityLabel={`Storybook.ListItem.${title}`}
>
{title}
);
interface Props {
stories: any;
}
interface State {
data: any[];
originalData: any[];
}
const List: typeof SectionList = styled.SectionList`
flex: 1;
margin-bottom: 40;
`;
export default class StoryListView extends Component {
constructor(props: Props) {
super(props);
this.state = {
data: [],
originalData: [],
};
}
componentDidMount() {
const channel = addons.getChannel();
channel.on(Events.STORY_ADDED, this.handleStoryAdded);
{title}
);
interface Props {
stories: any;
selectedKind?: string;
selectedStory?: string;
}
interface State {
data: any[];
originalData: any[];
}
const List: typeof SectionList = styled.SectionList`
flex: 1;
margin-bottom: 40;
`;
export default class StoryListView extends Component {
constructor(props: Props) {
super(props);
this.state = {
data: [],
originalData: [],
};
}
componentDidMount() {
const channel = addons.getChannel();
channel.on(Events.STORY_ADDED, this.handleStoryAdded);