Skip to content
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

feat: upgrade to 3.2.1 #46

Merged
merged 1 commit into from
Oct 28, 2024
Merged

feat: upgrade to 3.2.1 #46

merged 1 commit into from
Oct 28, 2024

Conversation

frankcalise
Copy link
Contributor

Description

Upgrades docusaurus to 3.2.1 to take advantage of https://docusaurus.io/blog/releases/3.2#mdx-partials-table-of-contents

You can now create reusable partials such as _toggle_props.mdx, and import them into another markdown page. This update will incorporate those headings into the right sidebar nav (whereas before, it didn't)

Screenshot

image

Example Code

---
sidebar_position: 32
---

import ToggleProps from './\_toggle_props.mdx';

# Checkbox

The `Checkbox` component provides a simple way to collect user input for a boolean value.

## Checkbox Props

### `icon`

The `icon` is a prop for the checkbox variant that allows you to customize the icon used for the "on" state.

```tsx
<Checkbox icon="ladybug" />
\```

<ToggleProps componentName="Checkbox" />

Copy link
Member

@markrickert markrickert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Probably in preparation for infinitered/ignite#2667 ?

@frankcalise
Copy link
Contributor Author

@markrickert yes sir that is correct!

Copy link

@mazenchami mazenchami left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@trevor-coleman trevor-coleman merged commit a4bcdf7 into main Oct 28, 2024
1 check passed
@trevor-coleman trevor-coleman deleted the feat/docusaurus-3.2.1 branch October 28, 2024 18:09
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.

4 participants