Skip to content

Commit

Permalink
chore: Adds metrics for wrap lines and actions (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-kot authored Jan 10, 2025
1 parent fdebd0b commit 8bb80fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/code-view/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export type { CodeViewProps };

export default function CodeView(props: CodeViewProps) {
const baseComponentProps = useBaseComponent("CodeView", {
props: { lineNumbers: props.lineNumbers },
props: { lineNumbers: props.lineNumbers, wrapLines: props.wrapLines },
metadata: { hasActions: !!props.actions },
});
return <InternalCodeView {...props} {...baseComponentProps} />;
}
Expand Down

0 comments on commit 8bb80fa

Please sign in to comment.