For example, my React APP depends on MUI package.
But I only import the Slider and AutoComplete from the package.
Will only these 2 components have an effect on my APP in terms of performance to the end user? Or does the entire package have the same effect regardless just because it is a dependency?