最終更新:2024-01-18 (木) 02:58:24 (118d)
sx
Top / sx
https://mui.com/system/getting-started/the-sx-prop/
https://mui.com/material-ui/customization/how-to-customize/#the-sx-prop
styleとの使い分け
- 「動的スタイル(変数に基づいて変化するスタイル)を style prop に配置し、すべての静的スタイルを sx prop に配置します。
- https://stackoverflow.com/questions/72527461/when-should-i-use-style-instead-of-sx-prop-in-material-ui