use filepicker component within filebody and response example filebody

This commit is contained in:
sanish-bruno
2026-01-01 19:10:39 +05:30
parent 91a4c5e34f
commit bf9ff8b6ba
3 changed files with 3 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ const Wrapper = styled.div`
cursor: pointer;
position: relative;
top: 1px;
accent-color: ${(props) => props.theme.primary.solid};
}
`;

View File

@@ -102,6 +102,7 @@ const FileBody = ({ item, collection }) => {
'filePath'
)}
collection={collection}
displayMode="labelAndIcon"
/>
</td>
<td>

View File

@@ -120,6 +120,7 @@ const ResponseExampleFileBody = ({ item, collection, exampleUid, editMode = fals
onChange={(newPath) => handleFilePathChange(row, newPath, onChange)}
collection={collection}
readOnly={!editMode}
displayMode="labelAndIcon"
/>
)
},