Skip to content

Commit

Permalink
fix story
Browse files Browse the repository at this point in the history
  • Loading branch information
oddvernes committed Dec 19, 2022
1 parent 72f1baf commit a19d559
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,7 @@ Controlled.args = {

export const Compact: Story<AutocompleteProps<MyOptionType>> = (args) => {
const { options } = args
//useVirtualizer does not support dynamic changing of item heights at the moment
const [density, setDensity] = useState<Density>('compact')
const [density, setDensity] = useState<Density>('comfortable')

useEffect(() => {
// Simulate user change
Expand Down

0 comments on commit a19d559

Please sign in to comment.