Skip to content

Add missing type hints in usage examples #2098

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/docs/background-position.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ Use utilities like `bg-center`, `bg-right`, and `bg-left-top` to control the pos

### Using a custom value

<UsingACustomValue utility="bg" value="center_top_1rem" name="background position" variable="bg-position" />
<UsingACustomValue utility="bg" value="center_top_1rem" name="background position" variable="bg-position" dataType="position"/>

### Responsive design

Expand Down
2 changes: 1 addition & 1 deletion src/docs/font-family.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Use utilities like `font-sans` and `font-mono` to set the font family of an elem

### Using a custom value

<UsingACustomValue utility="font" name="font family" value="Open_Sans" element="p" />
<UsingACustomValue utility="font" name="font family" value="Open_Sans" element="p" dataType="family-name"/>

### Responsive design

Expand Down