You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/plugins/component.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,8 @@ And the field will be assigned at object construction and extracted from the att
48
48
<MyImagesource="This is the source field"description="This is the description field">
49
49
```
50
50
51
+
There a a couple of utilities to transform types in [`#lib/core/components/utils/transform.ts`](https://github.com/Tygo-van-den-Hurk/Slyde/blob/main/lib/core/components/utils/transform.ts).
52
+
51
53
## Styling
52
54
53
55
Most of the lines of any `Component` plugin will most likely be the HTML output when rendering. That's why to make it as convenient to write your own components as possible I've added [tailwind](https://tailwindcss.com/) to the mix. You can use [tailwind](https://tailwindcss.com/) to define the looks of your component and the classes will be created for you dynamically later at runtime.
0 commit comments