bonafideduck / react-highlight-within-textarea

React component for highlighting bits of text within a textarea
93 stars 13 forks source link

Pull typescript code into demo #148

Open bonafideduck opened 2 years ago

bonafideduck commented 2 years ago

When I upgraded to use typescript, I did the work to get the demos working, but did not copy the new code patterns to the demo code. It may be safe to just show the old code since once the typing is stripped from the typescript, it should be the same as the old code.