feat(runtime): Add "data-testId" attribute to Columns node (#44)

This commit is contained in:
Eric Tuvesson
2024-06-27 15:42:25 +02:00
committed by GitHub
parent 3fb3668fc3
commit c5754c9160
2 changed files with 14 additions and 1 deletions

View File

@@ -7,6 +7,8 @@ export interface ColumnsProps extends Noodl.ReactProps {
marginX: string;
marginY: string;
attrs: React.Attributes;
justifyContent: 'flex-start' | 'flex-end' | 'center';
direction: 'row' | 'column';
minWidth: string;
@@ -123,6 +125,7 @@ export function Columns(props: ColumnsProps) {
return (
<div
{...props.attrs}
className={['columns-container', props.className].join(' ')}
ref={containerRef}
style={{