This is a demo of the principles of the text + annotation that will be used in the BUDA platform. You can find them in the following documents:
Import into react
as usual:
import AnnotatedEtextContainer from 'annotated-etext-react';
To run the demo:
cd demo
yarn install
yarn start
After the initial yarn install
, you should install flow-typed
to get the flow library definitions necessary to fully check your code:
npm -g install flow-typed
flow-typed install
Transform Flow code to JavaScript before pushing to git: yarn build
.
yarn test
Copyright (c) 2018 Buddhist Digital Resource Center, distributed under the MIT License.