Skip to content

Commit 8bb80fa

Browse files
authored
chore: Adds metrics for wrap lines and actions (#58)
1 parent fdebd0b commit 8bb80fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/code-view/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ export type { CodeViewProps };
99

1010
export default function CodeView(props: CodeViewProps) {
1111
const baseComponentProps = useBaseComponent("CodeView", {
12-
props: { lineNumbers: props.lineNumbers },
12+
props: { lineNumbers: props.lineNumbers, wrapLines: props.wrapLines },
13+
metadata: { hasActions: !!props.actions },
1314
});
1415
return <InternalCodeView {...props} {...baseComponentProps} />;
1516
}

0 commit comments

Comments
 (0)