diff --git a/src/contexts/MapProvider.jsx b/src/contexts/MapProvider.jsx index 31fb31b5..5a82121f 100644 --- a/src/contexts/MapProvider.jsx +++ b/src/contexts/MapProvider.jsx @@ -5,7 +5,7 @@ export const MapContext = createContext(null); /** * @param {Object} props - * @param {JSX.Element} props.children + * @param {import('react').ReactNode} props.children * @returns {JSX.Element} */ export default function MapProvider({ children }) { diff --git a/src/utah-design-system/Button.jsx b/src/utah-design-system/Button.jsx index 1c7257a6..0fac25ed 100644 --- a/src/utah-design-system/Button.jsx +++ b/src/utah-design-system/Button.jsx @@ -80,7 +80,7 @@ function getOneSizeSmaller(size) { * @param {Object} props * @param {keyof typeof APPEARANCES} [props.appearance] * @param {boolean} [props.busy] - * @param {JSX.Element} props.children + * @param {import('react').ReactNode} props.children * @param {import('tailwind-merge').ClassNameValue} [props.className] * @param {keyof typeof COLORS} [props.color] * @param {boolean} [props.disabled]