From 336c97b1c5a54db8e217d31e08fbf9c9e64b79be Mon Sep 17 00:00:00 2001 From: Daniel Sil Date: Wed, 13 Nov 2024 12:23:42 +0100 Subject: [PATCH] fix(Seat): id was not being applied to SeatLegend --- .../src/Seat/components/SeatLegend/index.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/orbit-components/src/Seat/components/SeatLegend/index.tsx b/packages/orbit-components/src/Seat/components/SeatLegend/index.tsx index 5b1cb69a69..99cd306fa1 100644 --- a/packages/orbit-components/src/Seat/components/SeatLegend/index.tsx +++ b/packages/orbit-components/src/Seat/components/SeatLegend/index.tsx @@ -8,10 +8,17 @@ import Text from "../../../Text"; import { TYPES } from "../../consts"; import type { Props } from "./types"; -const SeatLegend = ({ type = TYPES.DEFAULT, label, dataTest, "aria-label": ariaLabel }: Props) => { +const SeatLegend = ({ + type = TYPES.DEFAULT, + label, + dataTest, + "aria-label": ariaLabel, + id, +}: Props) => { return (