apps/studio/components/README.md
/components/layouts/xxx/components/interfaces/xxx/components/ui/xxxto-be-cleaned folder into the respective folders as we refactorindex.tsx as an entry pointcomponents/ui
- SampleComponentA
- SampleComponentA.tsx
- SampleComponentA.constants.ts
- SampleComponentA.utils.ts
- SampleComponentA.types.ts
- index.ts
- SampleComponentB.tsx
// Declare the prop types of your component
interface ComponentAProps {
sampleProp: string
}
// Name your component accordingly
const ComponentA = ({ sampleProp }: ComponentAProps) => {
return <div>ComponentA: {sampleProp}</div>
}
export default ComponentA