@reason-react-native/svg

12.1.6-0.63 • Public • Published

@reason-react-native/svg

Build Status Version Chat

ReScript / Reason bindings for react-native-svg.

Exposed as ReactNativeSvg module.

@reason-react-native/svg X.y.* means it's compatible with react-native-svg X.y.*

Installation

When react-native-svg is properly installed & configured by following their installation instructions, you can install the bindings:

npm install @reason-react-native/svg
# or
yarn add @reason-react-native/svg

@reason-react-native/svg should be added to bs-dependencies in your bsconfig.json:

{
  //...
  "bs-dependencies": [
    "reason-react",
    "reason-react-native",
    // ...
+    "@reason-react-native/svg"
  ],
  //...
}

Usage

Supported :

  • SvgXml
  • SvgCss
  • Svg
  • Rect
  • Circle
  • Ellipse
  • Line
  • Polygon
  • Polyline
  • Path
  • Text
  • TextPath
  • Tspan
  • Use
  • G
  • Symbol
  • Defs
  • Image
  • ClipPath
  • LinearGradient
  • Stop
  • RadialGradient
  • Mask
  • Pattern
  • Marker
  • ForeignObject

See definition for more details.


Changelog

Check the changelog for more informations about recent releases.


Contribute

Read the contribution guidelines before contributing.

Code of Conduct

We want this community to be friendly and respectful to each other. Please read our full code of conduct so that you can understand what actions will and will not be tolerated.

/@reason-react-native/svg/

    Package Sidebar

    Install

    npm i @reason-react-native/svg

    Weekly Downloads

    9

    Version

    12.1.6-0.63

    License

    MIT

    Unpacked Size

    36.8 kB

    Total Files

    6

    Last publish

    Collaborators

    • moox
    • cknittel
    • fham_
    • naturalclar
    • sgny