Skip to content

Commit

Permalink
Rename to ComponentDetails
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Ohlsen <[email protected]>
  • Loading branch information
ohltyler committed Oct 6, 2023
1 parent d0f6991 commit 4dac4de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ import { InputFieldList } from '../workspace_component/input_field_list';
// styling
import './workspace-styles.scss';

interface ComponentInputsProps {
interface ComponentDetailsProps {
onToggleChange: () => void;
isOpen: boolean;
}

export function ComponentInputs(props: ComponentInputsProps) {
export function ComponentDetails(props: ComponentDetailsProps) {
// TODO: use this instance to update the internal node state. ex: update field data in the selected node based
// on user input
const { reactFlowInstance } = useContext(rfContext);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { ReactFlowProvider } from 'reactflow';
import { EuiResizableContainer } from '@elastic/eui';
import { Workflow } from '../../../../common';
import { Workspace } from './workspace';
import { ComponentInputs } from './component_inputs';
import { ComponentDetails } from './component_details';

interface ResizableWorkspaceProps {
workflow?: Workflow;
Expand Down Expand Up @@ -49,7 +49,7 @@ export function ResizableWorkspace(props: ResizableWorkspaceProps) {
minSize="10%"
onToggleCollapsedInternal={() => onToggleChange()}
>
<ComponentInputs
<ComponentDetails
onToggleChange={onToggleChange}
isOpen={isOpen}
/>
Expand Down

0 comments on commit 4dac4de

Please sign in to comment.