From 7940d8cfb4c0cdd46c35d0a08dec43d4300b0b52 Mon Sep 17 00:00:00 2001 From: Ludo Vlieger Date: Wed, 18 Oct 2023 16:36:47 -0400 Subject: [PATCH] Update components --- .../AttributeDisplay.tsx | 26 ------ .../AttributeSelect.tsx | 32 ++++--- .../WorkerDetailsContainer/AttributeText.tsx | 6 +- .../WorkerDetailsContainer.tsx | 85 +++++++++---------- 4 files changed, 64 insertions(+), 85 deletions(-) delete mode 100644 plugin-flex-ts-template-v2/src/feature-library/worker-details/custom-components/WorkerDetailsContainer/AttributeDisplay.tsx diff --git a/plugin-flex-ts-template-v2/src/feature-library/worker-details/custom-components/WorkerDetailsContainer/AttributeDisplay.tsx b/plugin-flex-ts-template-v2/src/feature-library/worker-details/custom-components/WorkerDetailsContainer/AttributeDisplay.tsx deleted file mode 100644 index 77ceb7de7..000000000 --- a/plugin-flex-ts-template-v2/src/feature-library/worker-details/custom-components/WorkerDetailsContainer/AttributeDisplay.tsx +++ /dev/null @@ -1,26 +0,0 @@ -import { Template, templates } from '@twilio/flex-ui'; -import { Label } from '@twilio-paste/core/label'; -import { Tr, Td } from '@twilio-paste/core/table'; - -import { stringPrefix } from '../../flex-hooks/strings'; - -interface OwnProps { - id: string; - label: string; - value: string; -} - -const AttributeDisplay = ({ id, label, value }: OwnProps) => { - return ( - - -