Skip to content

Commit

Permalink
chore: Adds inline tokens to metrics tracking (#3245)
Browse files Browse the repository at this point in the history
Co-authored-by: Katie George <[email protected]>
  • Loading branch information
katiegeorge and Katie George authored Feb 3, 2025
1 parent c5d53ed commit ddd4f97
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/multiselect/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const Multiselect = React.forwardRef(
) => {
const baseComponentProps = useBaseComponent('Multiselect', {
props: {
inlineTokens: restProps.inlineTokens,
autoFocus: restProps.autoFocus,
expandToViewport: restProps.expandToViewport,
filteringType,
Expand All @@ -43,9 +44,6 @@ const Multiselect = React.forwardRef(
},
});

// Private API for inline tokens
const inlineTokens = Boolean((restProps as any).inlineTokens);

const componentAnalyticsMetadata: GeneratedAnalyticsMetadataMultiselectComponent = {
name: 'awsui.Multiselect',
label: `.${buttonTriggerAnalyticsSelectors['button-trigger']}`,
Expand All @@ -63,7 +61,6 @@ const Multiselect = React.forwardRef(
selectedOptions={selectedOptions}
keepOpen={keepOpen}
hideTokens={hideTokens}
inlineTokens={inlineTokens}
{...restProps}
{...baseComponentProps}
ref={ref}
Expand Down

0 comments on commit ddd4f97

Please sign in to comment.