2019-11-27 02:39:40 +00:00
|
|
|
import React, { useState } from 'react';
|
2019-11-26 22:42:19 +00:00
|
|
|
import './PhonoChangeApplier.scss';
|
|
|
|
|
2019-11-26 23:09:51 +00:00
|
|
|
import ProtoLang from './components/ProtoLang';
|
2019-11-27 02:44:07 +00:00
|
|
|
import Features from './components/Features';
|
2019-11-26 23:09:51 +00:00
|
|
|
|
2019-11-26 22:42:19 +00:00
|
|
|
const PhonoChangeApplier = () => {
|
2019-11-27 02:39:40 +00:00
|
|
|
const [ lexicon, setLexicon ] = useState(['one'])
|
|
|
|
|
2019-11-26 23:09:51 +00:00
|
|
|
return (
|
|
|
|
<div className="PhonoChangeApplier" data-testid="PhonoChangeApplier">
|
2019-11-27 02:39:40 +00:00
|
|
|
<ProtoLang lexicon={lexicon} setLexicon={setLexicon}/>
|
2019-11-27 02:44:07 +00:00
|
|
|
<Features />
|
2019-11-26 23:09:51 +00:00
|
|
|
</div>
|
|
|
|
);
|
2019-11-26 22:42:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export default PhonoChangeApplier;
|