From 57f352f50a1939e6d996d6004ed3831418b2e012 Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Sun, 7 Sep 2025 19:43:34 +0100 Subject: [PATCH] Added data tree icons --- src/components/Icons/JsonArrayIcon.jsx | 6 ++++++ src/components/Icons/JsonBoolIcon.jsx | 6 ++++++ src/components/Icons/JsonNumberIcon.jsx | 6 ++++++ src/components/Icons/JsonObjectIcon.jsx | 6 ++++++ src/components/Icons/JsonStringIcon.jsx | 6 ++++++ 5 files changed, 30 insertions(+) create mode 100644 src/components/Icons/JsonArrayIcon.jsx create mode 100644 src/components/Icons/JsonBoolIcon.jsx create mode 100644 src/components/Icons/JsonNumberIcon.jsx create mode 100644 src/components/Icons/JsonObjectIcon.jsx create mode 100644 src/components/Icons/JsonStringIcon.jsx diff --git a/src/components/Icons/JsonArrayIcon.jsx b/src/components/Icons/JsonArrayIcon.jsx new file mode 100644 index 0000000..637a4d0 --- /dev/null +++ b/src/components/Icons/JsonArrayIcon.jsx @@ -0,0 +1,6 @@ +import Icon from '@ant-design/icons' +import CustomIconSvg from '../../../assets/icons/jsonarrayicon.svg?react' + +const JsonArrayIcon = (props) => + +export default JsonArrayIcon diff --git a/src/components/Icons/JsonBoolIcon.jsx b/src/components/Icons/JsonBoolIcon.jsx new file mode 100644 index 0000000..17e8a1a --- /dev/null +++ b/src/components/Icons/JsonBoolIcon.jsx @@ -0,0 +1,6 @@ +import Icon from '@ant-design/icons' +import CustomIconSvg from '../../../assets/icons/jsonboolicon.svg?react' + +const JsonBoolIcon = (props) => + +export default JsonBoolIcon diff --git a/src/components/Icons/JsonNumberIcon.jsx b/src/components/Icons/JsonNumberIcon.jsx new file mode 100644 index 0000000..6e295a0 --- /dev/null +++ b/src/components/Icons/JsonNumberIcon.jsx @@ -0,0 +1,6 @@ +import Icon from '@ant-design/icons' +import CustomIconSvg from '../../../assets/icons/jsonnumbericon.svg?react' + +const JsonNumberIcon = (props) => + +export default JsonNumberIcon diff --git a/src/components/Icons/JsonObjectIcon.jsx b/src/components/Icons/JsonObjectIcon.jsx new file mode 100644 index 0000000..8bdb87e --- /dev/null +++ b/src/components/Icons/JsonObjectIcon.jsx @@ -0,0 +1,6 @@ +import Icon from '@ant-design/icons' +import CustomIconSvg from '../../../assets/icons/jsonobjecticon.svg?react' + +const JsonObjectIcon = (props) => + +export default JsonObjectIcon diff --git a/src/components/Icons/JsonStringIcon.jsx b/src/components/Icons/JsonStringIcon.jsx new file mode 100644 index 0000000..6190a2a --- /dev/null +++ b/src/components/Icons/JsonStringIcon.jsx @@ -0,0 +1,6 @@ +import Icon from '@ant-design/icons' +import CustomIconSvg from '../../../assets/icons/jsonstringicon.svg?react' + +const JsonStringIcon = (props) => + +export default JsonStringIcon