1.1.6 • Published 2 years ago

react-phonetic-transcription v1.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

React Phonetic Transcription

Phonetic transcription tools with react js for input, outputing, etc.

Thank you, I'm really appreciate your donation

Paypal

Future update

Let me know what you want. You can write issue on my repo.

Example

import React,{useState} from "react";
import { InputPhonetic, TextToPhonetic } from "react-phonetic-transcription";

const [text,setText] = useState("");

<TextToPhonetic>
    {text}
</TextToPhonetic>

<InputPhonetic
  sx={{
    mt: 2,
  }}
  addValue={(newValue) => {
    setValue(text + newValue);
  }}
/>

API

function InputPhonetic({
    addValue, // for the output if you click the phonetic symbol
    useRemember = true, // Remembering your last phonetic symbol
    dataDefault = common_java,
    height = "300px", // the height of phonetic keyboard
    ...rest
})
function TextToPhonetic({ children, ...rest }) {
  return (
    <span className="fonetis" {...rest}>
      {children}
    </span>
  );
}
1.1.6

2 years ago

1.1.5

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago