{"repo":"burhanuday/react-transliterate","free":true,"listed":false,"github":"https://github.com/burhanuday/react-transliterate","clone":"git clone https://github.com/burhanuday/react-transliterate.git","description":"Transliteration component for React with support for over 30 langauges. Burhanuddin → बुरहानुद्दीन","language":"TypeScript","stars":197,"topics":["react","transliteration-component","react-component","works-with-react"],"license":null,"category":"ui-components","readme_excerpt":"React Transliterate Transliteration component for React with support for over 30 languages. Uses API from Google Input Tools Demo See Demo Install Usage Basic example With custom component Usage with TypeScript With material ui Custom trigger keys Keys which when pressed, input the current selection to the textbox React Transliterate uses the event.keycode property to detect keys. Here are some predefined keys you can use. Or, you can enter the integer codes for any other key you'd like to use as the trigger Get transliteration suggestions For a full example, take a look at the example folder Props Prop Required? Default Description -------------------------------- --------- ------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------ onChangeText Yes Listener for the current value from the component. (text: string) = void value Yes value prop to pass to the component enabled true Control whether suggestions should be shown renderComponent (props) = Component to render. You can pass components from your component library as this prop lang hi Language you want to transliterate. See the following section for language codes maxOptions 5 Maximum number of suggestions to show in helper offsetY 0 Extra space between the top of the helper and bottom of the caret offsetX 0 Extra space between the caret and left of the helper containerClassName empty string Classname pas","default_branch":null,"files":null,"tree":[],"storefront":"/r/burhanuday","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/burhanuday/react-transliterate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}