Skip to content

Commit

Permalink
fix: Deconstruct typelevel from props and pass to stencil
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel.carrera committed Nov 22, 2024
1 parent 5c9ceb5 commit 0fa55dc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ const statusIndicatorLabelStencil = createStencil({

export const StatusIndicatorLabel = createComponent('span')({
displayName: 'StatusIndicator.Label',
Component: ({children, ...elemProps}: StatusIndicatorLabelProps, ref, Element) => {
Component: ({children, typeLevel, ...elemProps}: StatusIndicatorLabelProps, ref, Element) => {
return (
<Element ref={ref} {...mergeStyles(elemProps, statusIndicatorLabelStencil())}>
<Element ref={ref} {...mergeStyles(elemProps, statusIndicatorLabelStencil({typeLevel}))}>
{children}
</Element>
);
Expand Down

0 comments on commit 0fa55dc

Please sign in to comment.