Skip to content

Commit

Permalink
Fixed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lupusA committed Jan 11, 2024
1 parent 3d06c70 commit e995592
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
12 changes: 8 additions & 4 deletions src/forms/OptionalDirectory.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@ import { setDeepStateProperty } from '../utils/deepstate';
* The selections is invoked using a button that calls a functions within the electron app.
* If the electron app is not present, the button is not visible.
*
* @param {The component that this function is called from} component
* @param {Label, that is added before the input field} label
* @param {Name of the variable in which the directory path is stored} name
* @param {Additional properties of the component} props
* @param {*} component
* The component that this function is called from
* @param {string} label
* Label, that is added before the input field
* @param {string} name
* Name of the variable in which the directory path is stored
* @param {*} props
* Additional properties of the component
* @returns The form group with the components
*/
export function OptionalDirectory(component, label, name, props = {}) {
Expand Down
12 changes: 8 additions & 4 deletions src/forms/RequiredDirectory.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@ import { setDeepStateProperty } from '../utils/deepstate';
* The selections is invoked using a button that calls a functions within the electron app.
* If the electron app is not present, the button is not visible. The path is required.
*
* @param {The component that this function is called from} component
* @param {Label, that is added before the input field} label
* @param {Name of the variable in which the directory path is stored} name
* @param {Additional properties of the component} props
* @param {*} component
* The component that this function is called from
* @param {string} label
* Label, that is added before the input field
* @param {string} name
* Name of the variable in which the directory path is stored
* @param {*} props
* Additional properties of the component
* @returns The form group with the components
*/
export function RequiredDirectory(component, label, name, props = {}) {
Expand Down

0 comments on commit e995592

Please sign in to comment.