Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
19 lines
535 B
JavaScript
19 lines
535 B
JavaScript
import * as React from 'react';
|
|
import { CssVarsProvider } from '@mui/joy/styles';
|
|
import Box from '@mui/joy/Box';
|
|
import Select from '@mui/joy/Select';
|
|
import Option from '@mui/joy/Option';
|
|
|
|
export default function ListboxMinWidth() {
|
|
return (
|
|
<CssVarsProvider>
|
|
<Box sx={{ display: 'flex' }}>
|
|
<Select defaultListboxOpen placeholder="None">
|
|
<Option value="short">Short option</Option>
|
|
<Option value="long">A very long option</Option>
|
|
</Select>
|
|
</Box>
|
|
</CssVarsProvider>
|
|
);
|
|
}
|