Skip to content

[@mantine/core] PinInput: Fix incorrect @default JSDoc for gap prop#9058

Open
Hossam-Ismail wants to merge 1 commit into
mantinedev:masterfrom
Hossam-Ismail:fix/pininput-gap-default
Open

[@mantine/core] PinInput: Fix incorrect @default JSDoc for gap prop#9058
Hossam-Ismail wants to merge 1 commit into
mantinedev:masterfrom
Hossam-Ismail:fix/pininput-gap-default

Conversation

@Hossam-Ismail

Copy link
Copy Markdown

The gap prop JSDoc documents @default 'md', but the component's defaultProps sets gap: 'sm'.

// packages/@mantine/core/src/components/PinInput/PinInput.tsx
const defaultProps = {
  gap: 'sm',
  // ...
} satisfies Partial<PinInputProps>;

The @default annotation feeds the auto-generated props table on mantine.dev, so this corrects the documented default to match the actual value ('sm'). Docs-only change, no runtime behavior affected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant