git.iko.soy/rowtype-yoga/purescript-yoga-react-dom
on main help sign in
feat(svg): complete SVG element coverage

Adds the remaining standard SVG elements: a, metadata, mpath, view, script, style, and the missing filter primitives (feComponentTransfer, feConvolveMatrix, feDiffuseLighting, feSpecularLighting, feImage, feTile, feFunc{R,G,B,A}) plus light source children (feDistantLight, fePointLight, feSpotLight). Extends SVGAttributes with convolution/lighting/transfer-function attrs.

commitcbe23d8ac4513560fd186025a9f9d70d83ab922d authorMark <mark.eibes@gmail.com> dateWed 27 May 2026, 22:31 (4 months ago) parent7b53729
21 files changed+284−13
src/Yoga/React/DOM/SVG.purs+53−13 src/Yoga/React/DOM/SVG/A.purs+11 src/Yoga/React/DOM/SVG/Attributes.purs+22 src/Yoga/React/DOM/SVG/FeComponentTransfer.purs+11 src/Yoga/React/DOM/SVG/FeConvolveMatrix.purs+11 src/Yoga/React/DOM/SVG/FeDiffuseLighting.purs+11 src/Yoga/React/DOM/SVG/FeDistantLight.purs+11 src/Yoga/React/DOM/SVG/FeFuncA.purs+11 src/Yoga/React/DOM/SVG/FeFuncB.purs+11 src/Yoga/React/DOM/SVG/FeFuncG.purs+11 src/Yoga/React/DOM/SVG/FeFuncR.purs+11 src/Yoga/React/DOM/SVG/FeImage.purs+11 src/Yoga/React/DOM/SVG/FePointLight.purs+11 src/Yoga/React/DOM/SVG/FeSpecularLighting.purs+11 src/Yoga/React/DOM/SVG/FeSpotLight.purs+11 src/Yoga/React/DOM/SVG/FeTile.purs+11 src/Yoga/React/DOM/SVG/Metadata.purs+11 src/Yoga/React/DOM/SVG/Mpath.purs+11 src/Yoga/React/DOM/SVG/Script.purs+11 src/Yoga/React/DOM/SVG/Style.purs+11 src/Yoga/React/DOM/SVG/View.purs+11
src/Yoga/React/DOM/SVG.purs+53−13
@@ -10,6 +10,11 @@ module Yoga.React.DOM.SVG
1010 , module Yoga.React.DOM.SVG.ForeignObject
1111 , module Yoga.React.DOM.SVG.Title
1212 , module Yoga.React.DOM.SVG.Desc
13+ , module Yoga.React.DOM.SVG.Metadata
14+ , module Yoga.React.DOM.SVG.View
15+ , module Yoga.React.DOM.SVG.Script
16+ , module Yoga.React.DOM.SVG.Style
17+ , module Yoga.React.DOM.SVG.A
1318 -- Shapes
1419 , module Yoga.React.DOM.SVG.Path
1520 , module Yoga.React.DOM.SVG.Circle
@@ -36,20 +41,36 @@ module Yoga.React.DOM.SVG
3641 , module Yoga.React.DOM.SVG.AnimateTransform
3742 , module Yoga.React.DOM.SVG.AnimateMotion
3843 , module Yoga.React.DOM.SVG.Set
39− -- Filters
44+ , module Yoga.React.DOM.SVG.Mpath
45+ -- Filter container
4046 , module Yoga.React.DOM.SVG.Filter
41− , module Yoga.React.DOM.SVG.FeGaussianBlur
42− , module Yoga.React.DOM.SVG.FeOffset
47+ -- Filter primitives
4348 , module Yoga.React.DOM.SVG.FeBlend
4449 , module Yoga.React.DOM.SVG.FeColorMatrix
45− , module Yoga.React.DOM.SVG.FeMerge
46− , module Yoga.React.DOM.SVG.FeMergeNode
47− , module Yoga.React.DOM.SVG.FeFlood
50+ , module Yoga.React.DOM.SVG.FeComponentTransfer
4851 , module Yoga.React.DOM.SVG.FeComposite
52+ , module Yoga.React.DOM.SVG.FeConvolveMatrix
53+ , module Yoga.React.DOM.SVG.FeDiffuseLighting
54+ , module Yoga.React.DOM.SVG.FeDisplacementMap
4955 , module Yoga.React.DOM.SVG.FeDropShadow
56+ , module Yoga.React.DOM.SVG.FeFlood
57+ , module Yoga.React.DOM.SVG.FeFuncA
58+ , module Yoga.React.DOM.SVG.FeFuncB
59+ , module Yoga.React.DOM.SVG.FeFuncG
60+ , module Yoga.React.DOM.SVG.FeFuncR
61+ , module Yoga.React.DOM.SVG.FeGaussianBlur
62+ , module Yoga.React.DOM.SVG.FeImage
63+ , module Yoga.React.DOM.SVG.FeMerge
64+ , module Yoga.React.DOM.SVG.FeMergeNode
5065 , module Yoga.React.DOM.SVG.FeMorphology
66+ , module Yoga.React.DOM.SVG.FeOffset
67+ , module Yoga.React.DOM.SVG.FeSpecularLighting
68+ , module Yoga.React.DOM.SVG.FeTile
5169 , module Yoga.React.DOM.SVG.FeTurbulence
52− , module Yoga.React.DOM.SVG.FeDisplacementMap
70+ -- Light source children
71+ , module Yoga.React.DOM.SVG.FeDistantLight
72+ , module Yoga.React.DOM.SVG.FePointLight
73+ , module Yoga.React.DOM.SVG.FeSpotLight
5374 ) where
5475
5576import Yoga.React.DOM.SVG.Attributes (SVGAttributes, SVGAttributesR)
@@ -62,6 +83,11 @@ import Yoga.React.DOM.SVG.Switch (switch, switch_)
6283import Yoga.React.DOM.SVG.ForeignObject (foreignObject, foreignObject_)
6384import Yoga.React.DOM.SVG.Title (title, title_)
6485import Yoga.React.DOM.SVG.Desc (desc, desc_)
86+import Yoga.React.DOM.SVG.Metadata (metadata, metadata_)
87+import Yoga.React.DOM.SVG.View (view, view_)
88+import Yoga.React.DOM.SVG.Script (script, script_)
89+import Yoga.React.DOM.SVG.Style (style, style_)
90+import Yoga.React.DOM.SVG.A (a, a_)
6591import Yoga.React.DOM.SVG.Path (path, path_)
6692import Yoga.React.DOM.SVG.Circle (circle, circle_)
6793import Yoga.React.DOM.SVG.Ellipse (ellipse, ellipse_)
@@ -84,16 +110,30 @@ import Yoga.React.DOM.SVG.Animate (animate, animate_)
84110import Yoga.React.DOM.SVG.AnimateTransform (animateTransform, animateTransform_)
85111import Yoga.React.DOM.SVG.AnimateMotion (animateMotion, animateMotion_)
86112import Yoga.React.DOM.SVG.Set (set, set_)
113+import Yoga.React.DOM.SVG.Mpath (mpath, mpath_)
87114import Yoga.React.DOM.SVG.Filter (filter, filter_)
88−import Yoga.React.DOM.SVG.FeGaussianBlur (feGaussianBlur, feGaussianBlur_)
89−import Yoga.React.DOM.SVG.FeOffset (feOffset, feOffset_)
90115import Yoga.React.DOM.SVG.FeBlend (feBlend, feBlend_)
91116import Yoga.React.DOM.SVG.FeColorMatrix (feColorMatrix, feColorMatrix_)
92−import Yoga.React.DOM.SVG.FeMerge (feMerge, feMerge_)
93−import Yoga.React.DOM.SVG.FeMergeNode (feMergeNode, feMergeNode_)
94−import Yoga.React.DOM.SVG.FeFlood (feFlood, feFlood_)
117+import Yoga.React.DOM.SVG.FeComponentTransfer (feComponentTransfer, feComponentTransfer_)
95118import Yoga.React.DOM.SVG.FeComposite (feComposite, feComposite_)
119+import Yoga.React.DOM.SVG.FeConvolveMatrix (feConvolveMatrix, feConvolveMatrix_)
120+import Yoga.React.DOM.SVG.FeDiffuseLighting (feDiffuseLighting, feDiffuseLighting_)
121+import Yoga.React.DOM.SVG.FeDisplacementMap (feDisplacementMap, feDisplacementMap_)
96122import Yoga.React.DOM.SVG.FeDropShadow (feDropShadow, feDropShadow_)
123+import Yoga.React.DOM.SVG.FeFlood (feFlood, feFlood_)
124+import Yoga.React.DOM.SVG.FeFuncA (feFuncA, feFuncA_)
125+import Yoga.React.DOM.SVG.FeFuncB (feFuncB, feFuncB_)
126+import Yoga.React.DOM.SVG.FeFuncG (feFuncG, feFuncG_)
127+import Yoga.React.DOM.SVG.FeFuncR (feFuncR, feFuncR_)
128+import Yoga.React.DOM.SVG.FeGaussianBlur (feGaussianBlur, feGaussianBlur_)
129+import Yoga.React.DOM.SVG.FeImage (feImage, feImage_)
130+import Yoga.React.DOM.SVG.FeMerge (feMerge, feMerge_)
131+import Yoga.React.DOM.SVG.FeMergeNode (feMergeNode, feMergeNode_)
97132import Yoga.React.DOM.SVG.FeMorphology (feMorphology, feMorphology_)
133+import Yoga.React.DOM.SVG.FeOffset (feOffset, feOffset_)
134+import Yoga.React.DOM.SVG.FeSpecularLighting (feSpecularLighting, feSpecularLighting_)
135+import Yoga.React.DOM.SVG.FeTile (feTile, feTile_)
98136import Yoga.React.DOM.SVG.FeTurbulence (feTurbulence, feTurbulence_)
99−import Yoga.React.DOM.SVG.FeDisplacementMap (feDisplacementMap, feDisplacementMap_)
137+import Yoga.React.DOM.SVG.FeDistantLight (feDistantLight, feDistantLight_)
138+import Yoga.React.DOM.SVG.FePointLight (fePointLight, fePointLight_)
139+import Yoga.React.DOM.SVG.FeSpotLight (feSpotLight, feSpotLight_)
src/Yoga/React/DOM/SVG/A.pursnew file+11
@@ -0,0 +1,11 @@
1+module Yoga.React.DOM.SVG.A (a, a_) where
2+
3+import Yoga.React.DOM.Internal (FFIComponent, FFIComponent_, createBuiltinElement, createBuiltinElement_)
4+import Yoga.React.DOM.SVG.Attributes (SVGAttributes)
5+
6+-- | The SVG `<a>` element creates a hyperlink. Distinct from the HTML <a> — children can be any SVG shape.
7+a :: FFIComponent SVGAttributes
8+a = createBuiltinElement "a"
9+
10+a_ :: FFIComponent_ SVGAttributes
11+a_ = createBuiltinElement_ "a"
src/Yoga/React/DOM/SVG/Attributes.purs+22
@@ -173,6 +173,28 @@ type SVGAttributesR =
173173 , targetY :: String
174174 , kernelMatrix :: String
175175 , kernelUnitLength :: String
176+ , order :: String
177+ , preserveAlpha :: String
178+ -- Lighting filter primitives
179+ , surfaceScale :: String
180+ , diffuseConstant :: String
181+ , specularConstant :: String
182+ , specularExponent :: String
183+ , lightingColor :: String
184+ , azimuth :: String
185+ , elevation :: String
186+ , z :: String
187+ , pointsAtX :: String
188+ , pointsAtY :: String
189+ , pointsAtZ :: String
190+ , limitingConeAngle :: String
191+ -- feComponentTransfer / feFunc*
192+ , tableValues :: String
193+ -- View / metadata
194+ , zoomAndPan :: String
195+ , content :: String
196+ -- mpath / use external refs (in addition to href/xlinkHref above)
197+ , externalResourcesRequired :: String
176198 -- SVG root only
177199 , xmlns :: String
178200 , xmlnsXlink :: String
src/Yoga/React/DOM/SVG/FeComponentTransfer.pursnew file+11
@@ -0,0 +1,11 @@
1+module Yoga.React.DOM.SVG.FeComponentTransfer (feComponentTransfer, feComponentTransfer_) where
2+
3+import Yoga.React.DOM.Internal (FFIComponent, FFIComponent_, createBuiltinElement, createBuiltinElement_)
4+import Yoga.React.DOM.SVG.Attributes (SVGAttributes)
5+
6+-- | Filter primitive: per-channel component transfer; takes feFunc{R,G,B,A} children.
7+feComponentTransfer :: FFIComponent SVGAttributes
8+feComponentTransfer = createBuiltinElement "feComponentTransfer"
9+
10+feComponentTransfer_ :: FFIComponent_ SVGAttributes
11+feComponentTransfer_ = createBuiltinElement_ "feComponentTransfer"
src/Yoga/React/DOM/SVG/FeConvolveMatrix.pursnew file+11
@@ -0,0 +1,11 @@
1+module Yoga.React.DOM.SVG.FeConvolveMatrix (feConvolveMatrix, feConvolveMatrix_) where
2+
3+import Yoga.React.DOM.Internal (FFIComponent, FFIComponent_, createBuiltinElement, createBuiltinElement_)
4+import Yoga.React.DOM.SVG.Attributes (SVGAttributes)
5+
6+-- | Filter primitive: apply an arbitrary convolution matrix to the input.
7+feConvolveMatrix :: FFIComponent SVGAttributes
8+feConvolveMatrix = createBuiltinElement "feConvolveMatrix"
9+
10+feConvolveMatrix_ :: FFIComponent_ SVGAttributes
11+feConvolveMatrix_ = createBuiltinElement_ "feConvolveMatrix"
src/Yoga/React/DOM/SVG/FeDiffuseLighting.pursnew file+11
@@ -0,0 +1,11 @@
1+module Yoga.React.DOM.SVG.FeDiffuseLighting (feDiffuseLighting, feDiffuseLighting_) where
2+
3+import Yoga.React.DOM.Internal (FFIComponent, FFIComponent_, createBuiltinElement, createBuiltinElement_)
4+import Yoga.React.DOM.SVG.Attributes (SVGAttributes)
5+
6+-- | Filter primitive: light the input image as a diffuse surface.
7+feDiffuseLighting :: FFIComponent SVGAttributes
8+feDiffuseLighting = createBuiltinElement "feDiffuseLighting"
9+
10+feDiffuseLighting_ :: FFIComponent_ SVGAttributes
11+feDiffuseLighting_ = createBuiltinElement_ "feDiffuseLighting"
src/Yoga/React/DOM/SVG/FeDistantLight.pursnew file+11
@@ -0,0 +1,11 @@
1+module Yoga.React.DOM.SVG.FeDistantLight (feDistantLight, feDistantLight_) where
2+
3+import Yoga.React.DOM.Internal (FFIComponent, FFIComponent_, createBuiltinElement, createBuiltinElement_)
4+import Yoga.React.DOM.SVG.Attributes (SVGAttributes)
5+
6+-- | Light source child for feDiffuseLighting/feSpecularLighting: a distant directional light.
7+feDistantLight :: FFIComponent SVGAttributes
8+feDistantLight = createBuiltinElement "feDistantLight"
9+
10+feDistantLight_ :: FFIComponent_ SVGAttributes
11+feDistantLight_ = createBuiltinElement_ "feDistantLight"
src/Yoga/React/DOM/SVG/FeFuncA.pursnew file+11
@@ -0,0 +1,11 @@
1+module Yoga.React.DOM.SVG.FeFuncA (feFuncA, feFuncA_) where
2+
3+import Yoga.React.DOM.Internal (FFIComponent, FFIComponent_, createBuiltinElement, createBuiltinElement_)
4+import Yoga.React.DOM.SVG.Attributes (SVGAttributes)
5+
6+-- | Per-channel transfer function (A) child of feComponentTransfer.
7+feFuncA :: FFIComponent SVGAttributes
8+feFuncA = createBuiltinElement "feFuncA"
9+
10+feFuncA_ :: FFIComponent_ SVGAttributes
11+feFuncA_ = createBuiltinElement_ "feFuncA"
src/Yoga/React/DOM/SVG/FeFuncB.pursnew file+11
@@ -0,0 +1,11 @@
1+module Yoga.React.DOM.SVG.FeFuncB (feFuncB, feFuncB_) where
2+
3+import Yoga.React.DOM.Internal (FFIComponent, FFIComponent_, createBuiltinElement, createBuiltinElement_)
4+import Yoga.React.DOM.SVG.Attributes (SVGAttributes)
5+
6+-- | Per-channel transfer function (B) child of feComponentTransfer.
7+feFuncB :: FFIComponent SVGAttributes
8+feFuncB = createBuiltinElement "feFuncB"
9+
10+feFuncB_ :: FFIComponent_ SVGAttributes
11+feFuncB_ = createBuiltinElement_ "feFuncB"
src/Yoga/React/DOM/SVG/FeFuncG.pursnew file+11
@@ -0,0 +1,11 @@
1+module Yoga.React.DOM.SVG.FeFuncG (feFuncG, feFuncG_) where
2+
3+import Yoga.React.DOM.Internal (FFIComponent, FFIComponent_, createBuiltinElement, createBuiltinElement_)
4+import Yoga.React.DOM.SVG.Attributes (SVGAttributes)
5+
6+-- | Per-channel transfer function (G) child of feComponentTransfer.
7+feFuncG :: FFIComponent SVGAttributes
8+feFuncG = createBuiltinElement "feFuncG"
9+
10+feFuncG_ :: FFIComponent_ SVGAttributes
11+feFuncG_ = createBuiltinElement_ "feFuncG"
src/Yoga/React/DOM/SVG/FeFuncR.pursnew file+11
@@ -0,0 +1,11 @@
1+module Yoga.React.DOM.SVG.FeFuncR (feFuncR, feFuncR_) where
2+
3+import Yoga.React.DOM.Internal (FFIComponent, FFIComponent_, createBuiltinElement, createBuiltinElement_)
4+import Yoga.React.DOM.SVG.Attributes (SVGAttributes)
5+
6+-- | Per-channel transfer function (R) child of feComponentTransfer.
7+feFuncR :: FFIComponent SVGAttributes
8+feFuncR = createBuiltinElement "feFuncR"
9+
10+feFuncR_ :: FFIComponent_ SVGAttributes
11+feFuncR_ = createBuiltinElement_ "feFuncR"
src/Yoga/React/DOM/SVG/FeImage.pursnew file+11
@@ -0,0 +1,11 @@
1+module Yoga.React.DOM.SVG.FeImage (feImage, feImage_) where
2+
3+import Yoga.React.DOM.Internal (FFIComponent, FFIComponent_, createBuiltinElement, createBuiltinElement_)
4+import Yoga.React.DOM.SVG.Attributes (SVGAttributes)
5+
6+-- | Filter primitive: source the filter region from an external image or SVG fragment.
7+feImage :: FFIComponent SVGAttributes
8+feImage = createBuiltinElement "feImage"
9+
10+feImage_ :: FFIComponent_ SVGAttributes
11+feImage_ = createBuiltinElement_ "feImage"
src/Yoga/React/DOM/SVG/FePointLight.pursnew file+11
@@ -0,0 +1,11 @@
1+module Yoga.React.DOM.SVG.FePointLight (fePointLight, fePointLight_) where
2+
3+import Yoga.React.DOM.Internal (FFIComponent, FFIComponent_, createBuiltinElement, createBuiltinElement_)
4+import Yoga.React.DOM.SVG.Attributes (SVGAttributes)
5+
6+-- | Light source child for feDiffuseLighting/feSpecularLighting: a point light at (x,y,z).
7+fePointLight :: FFIComponent SVGAttributes
8+fePointLight = createBuiltinElement "fePointLight"
9+
10+fePointLight_ :: FFIComponent_ SVGAttributes
11+fePointLight_ = createBuiltinElement_ "fePointLight"
src/Yoga/React/DOM/SVG/FeSpecularLighting.pursnew file+11
@@ -0,0 +1,11 @@
1+module Yoga.React.DOM.SVG.FeSpecularLighting (feSpecularLighting, feSpecularLighting_) where
2+
3+import Yoga.React.DOM.Internal (FFIComponent, FFIComponent_, createBuiltinElement, createBuiltinElement_)
4+import Yoga.React.DOM.SVG.Attributes (SVGAttributes)
5+
6+-- | Filter primitive: light the input image as a specular surface.
7+feSpecularLighting :: FFIComponent SVGAttributes
8+feSpecularLighting = createBuiltinElement "feSpecularLighting"
9+
10+feSpecularLighting_ :: FFIComponent_ SVGAttributes
11+feSpecularLighting_ = createBuiltinElement_ "feSpecularLighting"
src/Yoga/React/DOM/SVG/FeSpotLight.pursnew file+11
@@ -0,0 +1,11 @@
1+module Yoga.React.DOM.SVG.FeSpotLight (feSpotLight, feSpotLight_) where
2+
3+import Yoga.React.DOM.Internal (FFIComponent, FFIComponent_, createBuiltinElement, createBuiltinElement_)
4+import Yoga.React.DOM.SVG.Attributes (SVGAttributes)
5+
6+-- | Light source child for feDiffuseLighting/feSpecularLighting: a directional spot light.
7+feSpotLight :: FFIComponent SVGAttributes
8+feSpotLight = createBuiltinElement "feSpotLight"
9+
10+feSpotLight_ :: FFIComponent_ SVGAttributes
11+feSpotLight_ = createBuiltinElement_ "feSpotLight"
src/Yoga/React/DOM/SVG/FeTile.pursnew file+11
@@ -0,0 +1,11 @@
1+module Yoga.React.DOM.SVG.FeTile (feTile, feTile_) where
2+
3+import Yoga.React.DOM.Internal (FFIComponent, FFIComponent_, createBuiltinElement, createBuiltinElement_)
4+import Yoga.React.DOM.SVG.Attributes (SVGAttributes)
5+
6+-- | Filter primitive: tile its input to fill the filter region.
7+feTile :: FFIComponent SVGAttributes
8+feTile = createBuiltinElement "feTile"
9+
10+feTile_ :: FFIComponent_ SVGAttributes
11+feTile_ = createBuiltinElement_ "feTile"
src/Yoga/React/DOM/SVG/Metadata.pursnew file+11
@@ -0,0 +1,11 @@
1+module Yoga.React.DOM.SVG.Metadata (metadata, metadata_) where
2+
3+import Yoga.React.DOM.Internal (FFIComponent, FFIComponent_, createBuiltinElement, createBuiltinElement_)
4+import Yoga.React.DOM.SVG.Attributes (SVGAttributes)
5+
6+-- | The `<metadata>` SVG element adds metadata to the SVG document (typically RDF or similar).
7+metadata :: FFIComponent SVGAttributes
8+metadata = createBuiltinElement "metadata"
9+
10+metadata_ :: FFIComponent_ SVGAttributes
11+metadata_ = createBuiltinElement_ "metadata"
src/Yoga/React/DOM/SVG/Mpath.pursnew file+11
@@ -0,0 +1,11 @@
1+module Yoga.React.DOM.SVG.Mpath (mpath, mpath_) where
2+
3+import Yoga.React.DOM.Internal (FFIComponent, FFIComponent_, createBuiltinElement, createBuiltinElement_)
4+import Yoga.React.DOM.SVG.Attributes (SVGAttributes)
5+
6+-- | The `<mpath>` SVG element references a <path> from inside an <animateMotion> to use as the motion path.
7+mpath :: FFIComponent SVGAttributes
8+mpath = createBuiltinElement "mpath"
9+
10+mpath_ :: FFIComponent_ SVGAttributes
11+mpath_ = createBuiltinElement_ "mpath"
src/Yoga/React/DOM/SVG/Script.pursnew file+11
@@ -0,0 +1,11 @@
1+module Yoga.React.DOM.SVG.Script (script, script_) where
2+
3+import Yoga.React.DOM.Internal (FFIComponent, FFIComponent_, createBuiltinElement, createBuiltinElement_)
4+import Yoga.React.DOM.SVG.Attributes (SVGAttributes)
5+
6+-- | The SVG `<script>` element allows ECMAScript to manipulate the SVG document.
7+script :: FFIComponent SVGAttributes
8+script = createBuiltinElement "script"
9+
10+script_ :: FFIComponent_ SVGAttributes
11+script_ = createBuiltinElement_ "script"
src/Yoga/React/DOM/SVG/Style.pursnew file+11
@@ -0,0 +1,11 @@
1+module Yoga.React.DOM.SVG.Style (style, style_) where
2+
3+import Yoga.React.DOM.Internal (FFIComponent, FFIComponent_, createBuiltinElement, createBuiltinElement_)
4+import Yoga.React.DOM.SVG.Attributes (SVGAttributes)
5+
6+-- | The SVG `<style>` element scopes CSS to the SVG document.
7+style :: FFIComponent SVGAttributes
8+style = createBuiltinElement "style"
9+
10+style_ :: FFIComponent_ SVGAttributes
11+style_ = createBuiltinElement_ "style"
src/Yoga/React/DOM/SVG/View.pursnew file+11
@@ -0,0 +1,11 @@
1+module Yoga.React.DOM.SVG.View (view, view_) where
2+
3+import Yoga.React.DOM.Internal (FFIComponent, FFIComponent_, createBuiltinElement, createBuiltinElement_)
4+import Yoga.React.DOM.SVG.Attributes (SVGAttributes)
5+
6+-- | The `<view>` SVG element defines a named view — link via #id to navigate to a saved viewBox/preserveAspectRatio.
7+view :: FFIComponent SVGAttributes
8+view = createBuiltinElement "view"
9+
10+view_ :: FFIComponent_ SVGAttributes
11+view_ = createBuiltinElement_ "view"