We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d9c525 commit 437eebcCopy full SHA for 437eebc
web-app/src/containers/Tutorial/components/Reset.tsx
@@ -1,6 +1,5 @@
1
import * as React from 'react'
2
-import { Dialog, Message } from '@alifd/next'
3
-import Button from '../../../components/Button'
+import { Button, Dialog, Message } from '@alifd/next'
4
5
interface Props {
6
disabled?: boolean
@@ -24,7 +23,13 @@ const Reset = (props: Props) => {
24
23
25
return (
26
<>
27
- <Button type="secondary" size="medium" onClick={() => setModalState('confirm')} disabled={props.disabled}>
+ <Button
+ ghost="dark"
28
+ type="secondary"
29
+ size="medium"
30
+ onClick={() => setModalState('confirm')}
31
+ disabled={props.disabled}
32
+ >
33
Reset
34
</Button>
35
<Dialog
0 commit comments