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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat: upgrade to 3.2.1 #46

wants to merge 1 commit into from

Conversation

frankcalise
Copy link

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
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!

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.

None yet

3 participants