mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-06 16:32:24 +00:00
Fix TextAnchor prop-type definition.
This commit is contained in:
+1
-1
@@ -94,7 +94,7 @@ const font = PropTypes.object;
|
|||||||
|
|
||||||
// start | middle | end | inherit
|
// start | middle | end | inherit
|
||||||
// https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/text-anchor
|
// https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/text-anchor
|
||||||
const textAnchor = PropTypes.oneOf(['start', 'middle', 'end', 'inherit']);
|
const textAnchor = PropTypes.oneOf(['start', 'middle', 'end']);
|
||||||
|
|
||||||
// none | underline | overline | line-through | blink | inherit
|
// none | underline | overline | line-through | blink | inherit
|
||||||
// https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/text-decoration
|
// https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/text-decoration
|
||||||
|
|||||||
Reference in New Issue
Block a user