chore(dev): add React profiling and focused A/B workflows

This commit is contained in:
Tunglies
2026-11-03 19:24:31 +08:00
parent 2b7b7cc0e7
commit d2c6eafc9e
18 changed files with 965 additions and 3 deletions
+16
View File
@@ -0,0 +1,16 @@
import { Paper as MuiPaper } from 'fixture-material'
export * from 'fixture-material'
import { fixture } from './state'
export function Paper(props: any) {
const { onClick, elevation, children, sx } = props
if (onClick && sx?.maxWidth === 160) {
fixture.tabRenders.push({
active: elevation === 2,
indicator: Boolean(children[2]),
label: children[1].props.children,
})
}
return <MuiPaper {...props} />
}