mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
change CSS to any for dropdown elements
This commit is contained in:
parent
82190e52af
commit
3bbfad2246
2 changed files with 12 additions and 12 deletions
|
|
@ -78,7 +78,7 @@ type DropdownProps = {
|
|||
side?: DropdownSide
|
||||
sideOffset?: number
|
||||
disabled?: boolean
|
||||
css?: CSS
|
||||
css?: any
|
||||
modal?: boolean
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue