material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

[material-ui][docs] Revise the Button page

Open samuelsycamore opened this issue 1 year ago • 3 comments

Part of #35158

  • thoroughly restructured the doc to match the current format
  • rewrote (and removed) sections that plagiarized the Material Design specs
  • added demos for previously undocumented props

https://deploy-preview-40446--material-ui.netlify.app/material-ui/react-button

samuelsycamore avatar Jan 05 '24 20:01 samuelsycamore

Netlify deploy preview

Bundle size report

No bundle size changes (Toolpad) No bundle size changes

Generated by :no_entry_sign: dangerJS against 0725e8a416cf35da281a56eeb3f82527f90082ab

mui-bot avatar Jan 05 '24 20:01 mui-bot

Alright, I've done some heavy revising since the last review but I think this is ready to go now!

samuelsycamore avatar Jan 30 '24 02:01 samuelsycamore

Off-topic

The <span with background-image looks outdated now

Screenshot 2024-02-04 at 22 49 58

best to use the object-fit CSS property now, so we can use loading="lazy" on the image

oliviertassinari avatar Feb 04 '24 21:02 oliviertassinari