feat: updateListTextFieldLabel

This commit is contained in:
karishmas6
2024-09-13 23:25:36 +05:30
parent 08af63b80f
commit f0ec5dbb67

View File

@@ -42,6 +42,7 @@ interface BrowserStepsContextType {
addScreenshotStep: (fullPage: boolean) => void; addScreenshotStep: (fullPage: boolean) => void;
deleteBrowserStep: (id: number) => void; deleteBrowserStep: (id: number) => void;
updateBrowserTextStepLabel: (id: number, newLabel: string) => void; updateBrowserTextStepLabel: (id: number, newLabel: string) => void;
updateListTextFieldLabel: (listId: number, fieldKey: string, newLabel: string) => void;
} }
const BrowserStepsContext = createContext<BrowserStepsContextType | undefined>(undefined); const BrowserStepsContext = createContext<BrowserStepsContextType | undefined>(undefined);
@@ -109,6 +110,7 @@ export const BrowserStepsProvider: React.FC<{ children: React.ReactNode }> = ({
addScreenshotStep, addScreenshotStep,
deleteBrowserStep, deleteBrowserStep,
updateBrowserTextStepLabel, updateBrowserTextStepLabel,
updateListTextFieldLabel,
}}> }}>
{children} {children}
</BrowserStepsContext.Provider> </BrowserStepsContext.Provider>