Skip to content

Commit 13eb2d7

Browse files
committed
README
1 parent 46c6319 commit 13eb2d7

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,6 @@ component Main {
4646
}
4747
}
4848
```
49-
50-
### Explanation:
51-
- **Component Definition**: The `component TodoItem` block defines a reusable component that encapsulates all its properties, styling, and behavior.
52-
- **Properties**: Properties like `color`, `done`, and `label` are defined within the component and can be accessed throughout the component's lifecycle.
53-
- **Styling**: The `style` block defines how elements inside the component will look. It’s similar to CSS, but with more power and flexibility.
54-
- **Render Function**: The `fun render` function is where the UI elements are rendered using the component's properties and styling.
55-
5649
---
5750

5851
## Why Choose **MoonScript**?

0 commit comments

Comments
 (0)