Skip to content

docs(playground): use className in react snippets - #4890

Draft
thetaPC wants to merge 1 commit into
docs/vue-code-fencesfrom
docs/react-classname
Draft

thetaPC wants to merge 1 commit into
docs/vue-code-fencesfrom
docs/react-classname

Conversation

@thetaPC

@thetaPC thetaPC commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Issue URL: N/A

What is the current behavior?

  • Some React playground snippets set class on Ionic components, such as <IonContent class="ion-padding">. React uses className, and the rest of the React snippets already do.

What is the new behavior?

  • Those snippets use className, in v9 and v8.

Does this introduce a breaking change?

  • Yes
  • No

Other information

How to test

  1. Open the preview's Grid Horizontal Alignment playground and select React. The code uses className, and opening it in StackBlitz gives a working project where the rows still align.
  2. Repeat with Popover Positioning. The popover content keeps its padding.

@thetaPC
thetaPC added this pull request to stack #4889 November 20, 2026 23:12
@vercel

vercel Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ionic-docs Ready Ready Preview Nov 20, 2026 11:13pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — b89f9cc2 Deployed Nov 20, 2026 by vercel[bot]
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