Skip to content

Commit

Permalink
chore: #649 export alerttype from elements (#658)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuong Vu authored Mar 19, 2020
1 parent 582d861 commit 2e0aaa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/elements/src/components/Alert/index.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import * as React from 'react'

type alertType = 'primary' | 'danger' | 'success' | 'warning' | 'info'
export type AlertType = 'primary' | 'danger' | 'success' | 'warning' | 'info'

export interface AlertProps {
message: string | React.ReactNode
closable?: boolean
type?: alertType
type?: AlertType
className?: string
dataTest?: string
afterClose?: (event: React.MouseEvent<HTMLButtonElement>) => void
Expand Down

0 comments on commit 2e0aaa6

Please sign in to comment.