Commit c2381cc9 authored by Jannik Lehmann's avatar Jannik Lehmann Committed by David O'Regan

Use correct JSDoc syntax for argument properties

parent 4c63009b
......@@ -12,11 +12,11 @@ const defaultValue = (prop) => GlLoadingIcon.props[prop]?.default;
* https://gitlab.com/groups/gitlab-org/-/epics/7626.
*
* @param {object} props - The props to configure the spinner.
* @param {boolean} inline - Display the spinner inline; otherwise, as a block.
* @param {string} color - The color of the spinner ('dark' or 'light')
* @param {string} size - The size of the spinner ('sm', 'md', 'lg', 'xl')
* @param {string[]} classes - Additional classes to apply to the element.
* @param {string} label - The ARIA label to apply to the spinner.
* @param {boolean} props.inline - Display the spinner inline; otherwise, as a block.
* @param {string} props.color - The color of the spinner ('dark' or 'light')
* @param {string} props.size - The size of the spinner ('sm', 'md', 'lg', 'xl')
* @param {string[]} props.classes - Additional classes to apply to the element.
* @param {string} props.label - The ARIA label to apply to the spinner.
* @returns {HTMLElement}
*/
export const loadingIconForLegacyJS = ({
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment