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

[docs][joy] Add typescript demos for Divider #36374

Merged
merged 4 commits into from
Feb 28, 2023

Conversation

sai6855
Copy link
Contributor

@sai6855 sai6855 commented Feb 28, 2023

part of #36367

@mui-bot
Copy link

mui-bot commented Feb 28, 2023

Netlify deploy preview

https://deploy-preview-36374--material-ui.netlify.app/

Bundle size report

No bundle size changes

Generated by 🚫 dangerJS against f362e49

import Sheet from '@mui/joy/Sheet';

export default function DividerChildPosition() {
const [position, setPosition] = React.useState<number | Array<number>>(50);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

new addition


export default function DividerInCard() {
const [orientation, setOrientation] =
React.useState<CardProps['orientation']>('vertical');
Copy link
Contributor Author

Choose a reason for hiding this comment

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

new addition

@hbjORbj hbjORbj added docs Improvements or additions to the documentation component: divider This is the name of the generic UI component, not the React module! package: joy-ui Specific to @mui/joy labels Feb 28, 2023
@hbjORbj hbjORbj changed the title [Divider][Joy] Add typescript demos [docs][joy] Add typescript demos for Divider Feb 28, 2023
Copy link
Member

@hbjORbj hbjORbj left a comment

Choose a reason for hiding this comment

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

Looks good!

@hbjORbj hbjORbj merged commit 4ba2f1a into mui:master Feb 28, 2023
sai6855 added a commit to sai6855/material-ui that referenced this pull request Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: divider This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation package: joy-ui Specific to @mui/joy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants