How can I customize a popover and button using MUI?
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 26.8k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
useEffect(() => {
const steps = [
{
element: '#Dashboard',
popover: {
title: 'Dashboard',
description: 'The dashboard shows statistics',
side: 'left',
align: 'start',
onNextClick: () => {
router.push('/leads/?withRecognizedTerms=false&leadType=ALL_LEADS')
driverObj.moveNext()
}
}
}
]
const filteredSteps: any = steps.filter(step => {
const element = document.querySelector(step.element)
return !step.element || element !== null
})
const driverObj = driver({
showButtons: ['next', 'previous'],
onNextClick: (element, step, opts) => {
opts.config.showProgress = true
driverObj.moveNext()
},
prevBtnText: 'Previous',
doneBtnText: 'Next',
showProgress: false,
allowClose: false,
steps: filteredSteps
})
driverObj.drive()
}, [])
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue provides a useEffect configuration with driver.js steps, popover options, and navigation callbacks, but it names no repository files or tests. Start by locating the documentation or examples for popover and button customization, then determine whether the requested MUI integration needs documented guidance. Done should mean the customization question has a clear, reproducible answer or example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100