import React, { ReactNode } from 'react'; import { Box } from './primitives/Box'; import { Surface } from './primitives/Surface'; export interface ControlBarProps { children: ReactNode; actions?: ReactNode; } export const ControlBar = ({ children, actions }: ControlBarProps) => { return ( {children} {actions && ( {actions} )} ); };