mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-27 15:22:56 +08:00
remove unused component
This commit is contained in:
parent
74c226137a
commit
82320ad5d7
@ -1,17 +0,0 @@
|
|||||||
import React from "react";
|
|
||||||
import { CustomNodeProps } from ".";
|
|
||||||
import * as Styled from "./styles";
|
|
||||||
|
|
||||||
const ArrayNode: React.FC<CustomNodeProps<string>> = ({ width, height, value }) => {
|
|
||||||
return (
|
|
||||||
<Styled.StyledForeignObject width={width} height={height} x={0} y={0}>
|
|
||||||
<Styled.StyledTextWrapper>
|
|
||||||
<Styled.StyledText width={width} height={height}>
|
|
||||||
<Styled.StyledKey arrayValue>{value}</Styled.StyledKey>
|
|
||||||
</Styled.StyledText>
|
|
||||||
</Styled.StyledTextWrapper>
|
|
||||||
</Styled.StyledForeignObject>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
export default ArrayNode;
|
|
Loading…
x
Reference in New Issue
Block a user