Issue with ecosystem-04
bore-prog opened this issue · 1 comments
bore-prog commented
Describe the bug, the incomprehension
// ./src/components/Text.stories.tsx
import React from "react";
import { View } from "react-native";
import { Button } from "react-native-paper";
export default {
title: "Button",
};
export const Default = () => (
<View style={{ padding: 16, justifyContent: "space-between", flex: 1 }}>
// import buttons from https://callstack.github.io/react-native-paper/docs/components/Button/
</View>
);
Default.story = {
name: "Default",
};
The first comment // ./src/components/Text.stories.tsx is meant to be // ./src/components/Button.stories.tsx
and this comment // import buttons from https://callstack.github.io/react-native-paper/docs/components/Button/ is not a comment in this file, it is meant to be in {/* ... */}, some errors where generated because of this.
Additional info
No response
MatthysDev commented
Thanks for your contribution 🚀
It's fixed now.