i18n - docs translations (#22297)
Created by Github action Co-authored-by: github-actions <github-actions@twenty.com>
This commit is contained in:
committed by
GitHub
parent
73b0d55350
commit
f470e271fa
+3
-3
@@ -95,9 +95,9 @@ const MyComponent = (props: OwnProps) => {
|
||||
```
|
||||
|
||||
```tsx
|
||||
/* ✅ - Dobré, Explicitně uvádí všechny prop
|
||||
* - Zvyšuje čitelnost a možnost údržby
|
||||
*/
|
||||
/* ✅ - Good, Explicitly lists all props
|
||||
* - Enhances readability and maintainability
|
||||
*/
|
||||
const MyComponent = ({ prop1, prop2, prop3 }: MyComponentProps) => {
|
||||
return <OtherComponent {...{ prop1, prop2, prop3 }} />;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user