Skip to content

Commit 70849f7

Browse files
committed
Fix typos in README
1 parent 0f8a15f commit 70849f7

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,21 +97,21 @@ Projects and examples using Feliz.ViewEngine:
9797

9898
## Porting an Existing Feliz Library to Feliz.ViewEngine
9999

100-
To port an existing `Feliz` library to `Feliz.ViewEngine` you basically need to reimplement everything from the library you want to port. However this is
101-
usually not a lot of work since you can reuse most of the files from the existing library, and you can do the work incrementally and add support for more element and properties as needed.
100+
To port an existing `Feliz` library to `Feliz.ViewEngine` you basically need to reimplement everything from the library
101+
you want to port. However this is usually not a lot of work since you can reuse most of the files from the existing
102+
library, and you can do the work incrementally and add support for more elements and properties as needed.
102103

103-
Start with the file that
104-
generates the HTML elements, comment out the whole file using `(* ... *)` and start enabling element by element. Then port properties, styles, colors, etc.
104+
Start with the file that generates the HTML elements, comment out the whole file using `(* ... *)` and start enabling
105+
element by element. Then port properties, styles, colors, etc.
106+
107+
The `Feliz.ViewEngine` types are different from `ReactElement`:
105108

106-
The Feliz.ViewEngine types are different from ReactElement:
107-
inter
108109
```fs
109110
type IReactProperty =
110111
| KeyValue of string * obj
111112
| Children of ReactElement list
112113
| Text of string
113114
114-
115115
and ReactElement =
116116
| Element of string * IReactProperty list
117117
| VoidElement of string * IReactProperty list

0 commit comments

Comments
 (0)