// @flow import React, {useContext} from 'react'; import Element from './Element'; import {StoreContext} from './contexts'; import {useElement, useRoots} from './hooks'; import styles from './Tree.css'; type TreeProps = {||}; export default function Tree({}: TreeProps) { const store = useContext(StoreContext); const roots = useRoots(store); return (