react-native-audio-graph
v0.3.0
Published
test
Downloads
3
Readme
react-native-audio-graph
An empty view with a simple mapping of props to the native AXChart protocol, to support audio graphs on iOS via Voiceover.
Note: This is the first thing I've ever published to npm, and very much an alpha. Expect breaking changes in minor updates as long as the major version remains 0
. Android is completely untested so far and probably crashes if it even builds. Ideally this library would be transparent on Android and simply return a `'.
Installation
npm install react-native-audio-graph
Usage
import { AudioGraphView } from "react-native-audio-graph";
// ...
<AudioGraphView
accessible
accessibilityLabel={'Test graph title'}
style={styles.box}
title={'Test graph title'}
summary={'Text graph summary'}
xTitle={'x axis title'}
xValues={[1, 2, 3, 4, 5]}
yTitle={'y axis title'}
yValues={[0, 2, 20, -5, 0]}
>
... some inner content (i.e., a non-audio graph) ...
</AudioGraphView>
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library