-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
Conversation
Netlify deploy previewhttps://deploy-preview-36374--material-ui.netlify.app/ Bundle size report |
import Sheet from '@mui/joy/Sheet'; | ||
|
||
export default function DividerChildPosition() { | ||
const [position, setPosition] = React.useState<number | Array<number>>(50); |
There was a problem hiding this comment.
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'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new addition
Divider
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
part of #36367