mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Don't use DOM API interfaces for React.SVGAttributes
This commit is contained in:
@@ -224,6 +224,21 @@ React.DOM.div(htmlAttr);
|
||||
React.DOM.span(htmlAttr);
|
||||
React.DOM.input(htmlAttr);
|
||||
|
||||
React.DOM.svg({ viewBox: "0 0 48 48" },
|
||||
React.DOM.rect({
|
||||
x: 22,
|
||||
y: 10,
|
||||
width: 4,
|
||||
height: 28
|
||||
}),
|
||||
React.DOM.rect({
|
||||
x: 10,
|
||||
y: 22,
|
||||
width: 28,
|
||||
height: 4
|
||||
}));
|
||||
|
||||
|
||||
//
|
||||
// React.PropTypes
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user