2022-01-29 21:31:12 +01:00
|
|
|
import { Ul, Li, Details, Summary, NoSumDiv, Deg } from 'shared/components/workbench/menu'
|
|
|
|
import Attributes from './attributes.js'
|
|
|
|
import Ops from './path-ops.js'
|
2022-01-29 19:27:14 +01:00
|
|
|
/*
|
|
|
|
* Things to add
|
|
|
|
*
|
|
|
|
* ops
|
|
|
|
*/
|
|
|
|
|
2022-01-29 18:24:36 +01:00
|
|
|
|
2022-01-29 21:31:12 +01:00
|
|
|
const XrayPath = ({ path }) => (
|
|
|
|
<Ul>
|
|
|
|
<Li>
|
|
|
|
<NoSumDiv>
|
|
|
|
<Deg />
|
|
|
|
<span className="font-bold mr-2">Render =</span>
|
|
|
|
<span>{JSON.stringify(path.render)}</span>
|
|
|
|
</NoSumDiv>
|
|
|
|
</Li>
|
|
|
|
<Attributes attr={path.attributes} />
|
|
|
|
<Ops ops={path.ops} />
|
|
|
|
</Ul>
|
|
|
|
)
|
2022-01-29 18:24:36 +01:00
|
|
|
|
|
|
|
export default XrayPath
|