Skip to content

Commit

Permalink
docs(configurations): enhance descriptions with link arrow indicators
Browse files Browse the repository at this point in the history
  • Loading branch information
Rel1cx committed Jan 31, 2025
1 parent 5f73542 commit 6d135e6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions website/content/docs/configurations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,24 @@ export function ConfigurationsTypeTable() {
type={{
version: {
type: "string",
description: <Link href="#version">React version to perform the analysis.</Link>,
description: <Link href="#version">React version to perform the analysis</Link>,
default: "detect",
},
importSource: {
type: "string",
description: <Link href="#importsource">The source where React is imported from.</Link>,
description: <Link href="#importsource">The source where React is imported from</Link>,
default: "react",
},
polymorphicPropName: {
type: "string",
description: (
<Link href="#polymorphicpropname">The prop your code uses to create polymorphic components.</Link>
<Link href="#polymorphicpropname">The prop your code uses to create polymorphic components</Link>
),
default: "as",
},
additionalComponents: {
type: "CustomComponent[]",
description: <Link href="#additionalcomponents">An array of components and its attributes mapping.</Link>,
description: <Link href="#additionalcomponents">An array of components and its attributes mapping</Link>,
default: "[]",
typeDescription: (
<DynamicCodeBlock
Expand All @@ -48,7 +48,7 @@ export function ConfigurationsTypeTable() {
},
additionalHooks: {
type: "Record<ReactBuiltInHookName, string[]>",
description: <Link href="#additionalhooks">An object of aliases for React built-in Hooks.</Link>,
description: <Link href="#additionalhooks">An object of aliases for React built-in Hooks</Link>,
default: "{}",
typeDescription: (
<DynamicCodeBlock
Expand Down

0 comments on commit 6d135e6

Please sign in to comment.