import React from 'react';
import { render } from 'react-dom';

import SequenceDiagram from './index';

const input =
  "Andrew->China: Says Hello\n" +
  "Note right of China: China thinks\nabout it\n" +
  "China-->Andrew: How are you?\n" +
  "Andrew->>China: I am good thanks!\n";

render(<SequenceDiagram input={input} />, document.getElementById('root'));

@@ -113,17 +113,17 @@
 put =%0A  
-%22
+'
 Andrew-%3E
@@ -141,23 +141,23 @@
  Hello%5Cn
-%22
+'
  +%0A  
-%22
+'
 Note rig
@@ -182,16 +182,17 @@
  thinks%5C
+%5C
 nabout i
@@ -194,23 +194,23 @@
 out it%5Cn
-%22
+'
  +%0A  
-%22
+'
 China--%3E
@@ -235,15 +235,15 @@
 u?%5Cn
-%22
+'
  +%0A  
-%22
+'
 Andr
@@ -275,12 +275,11 @@
 nks!
-%5Cn%22;
+';%0A
 %0A%0Are

Modify test input string