-
Notifications
You must be signed in to change notification settings - Fork 19
/
OUTPUT_COMPONENTS.fs
35 lines (25 loc) · 1.2 KB
/
OUTPUT_COMPONENTS.fs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
namespace Feliz
(*////////////////////////////////
/// THIS FILE IS AUTO-GENERATED //
////////////////////////////////*)
open System.ComponentModel
open Fable.Core
open Fable.Core.JsInterop
open Fable.React
open Feliz
[<AutoOpen; EditorBrowsable(EditorBrowsableState.Never)>]
module HtmlHelpers =
let reactElement (el: ReactElementType) (props: 'a) : ReactElement =
import "createElement" "react"
let reactElementTag (tag: string) (props: 'a) : ReactElement =
import "createElement" "react"
let createElement (el: ReactElementType) (properties: IReactProperty seq) : ReactElement =
reactElement el (createObj !!properties)
let createElementTag (tag: string) (properties: IReactProperty seq) : ReactElement =
reactElementTag tag (createObj !!properties)
[<Erase>]
type Html =
/// Represents a document section that contains interactive controls for submitting information to a web server.
static member inline form props = createElement "form" props
/// Represents a document section that contains interactive controls for submitting information to a web server.
static member inline form children: #seq<ReactElement> = createElement "form" Feliz.form.children (children :> ReactElement seq)