Skip to content

rescript-react-native/svg

Repository files navigation

@rescript-react-native/svg

Build Status Version ReScript Forum

ReScript bindings for react-native-svg.

Exposed as ReactNativeSvg module.

@rescript-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 @rescript-react-native/svg
# or
yarn add @rescript-react-native/svg

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

{
  //...
  "bs-dependencies": [
    "@rescript/react",
    "rescript-react-native",
    // ...
+    "@rescript-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.

About

ReScript bindings for react-native-svg

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Contributors 5

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy