import React from "react"; import Character from "./Character"; export default props => { const text = `${props.children}`; const chars = text.split(""); return (
{chars.map((character, index) => ( {character} ))};
); }; // TODO: Require that props.children be a string