diff --git a/docs/data/base/components/select/UnstyledSelectBasic/tailwind/index.js b/docs/data/base/components/select/UnstyledSelectBasic/tailwind/index.js
index 5be05e72fa43d3..7a3ccd8c3543f4 100644
--- a/docs/data/base/components/select/UnstyledSelectBasic/tailwind/index.js
+++ b/docs/data/base/components/select/UnstyledSelectBasic/tailwind/index.js
@@ -1,7 +1,9 @@
import * as React from 'react';
+import PropTypes from 'prop-types';
import { Select } from '@mui/base/Select';
import { Option as BaseOption } from '@mui/base/Option';
import { useTheme } from '@mui/system';
+import clsx from 'clsx';
const getOptionColorClasses = ({ selected, highlighted, disabled }) => {
let classes = '';
@@ -48,18 +50,8 @@ export default function UnstyledSelectBasic() {
return (
-
+
);
}
+
+const resolveSlotProps = (fn, args) => (typeof fn === 'function' ? fn(args) : fn);
+
+const CustomSelect = React.forwardRef(function CustomSelect(props, ref) {
+ return (
+