Skip to content

Commit

Permalink
Feat: added support for extending seat icon styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Akalanka47000 committed Apr 2, 2024
1 parent 8dcf6d6 commit c646557
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/workspace/elements/seat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ const Seat: React.FC<ISeatProps> = forwardRef(
width={seatSize * 0.75}
height={seatSize * 0.75}
size={seatSize * 0.75}
className={consumer.styles?.elements?.seat?.icon?.className}
style={consumer.styles?.elements?.seat?.icon?.properties}
/>
)}
{label && showLabel && !SeatIcon && (
Expand Down
1 change: 1 addition & 0 deletions src/types/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export interface IStyles {
selected?: IStyle;
unselected?: IStyle;
base?: IStyle;
icon?: IStyle;
statusColors?: {
[key: string]: {
background?: string;
Expand Down

0 comments on commit c646557

Please sign in to comment.