change CSS to any for dropdown elements

This commit is contained in:
gitstart-omnivore 2022-04-14 20:58:26 +00:00
parent 82190e52af
commit 3bbfad2246
2 changed files with 12 additions and 12 deletions

View file

@ -78,7 +78,7 @@ type DropdownProps = {
side?: DropdownSide
sideOffset?: number
disabled?: boolean
css?: CSS
css?: any
modal?: boolean
}

View file

@ -23,18 +23,18 @@ export default {
const Template = ({ showToast, position }: { showToast: () => void; position?: ToastPosition }) => (
<div>
<Toaster position={position} />
<div
style={{
height: '15rem',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
}}
>
<button onClick={showToast}>Show Toast</button>
</div>
<Toaster position={position} />
<div
style={{
height: '15rem',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
}}
>
<button onClick={showToast}>Show Toast</button>
</div>
</div>
)
export const SuccessSnackbar: ComponentStory<typeof Toaster> = (args: any) => {