diff --git a/src/components/Toast.tsx b/src/components/Toast.tsx index b2c5b812..2e836580 100644 --- a/src/components/Toast.tsx +++ b/src/components/Toast.tsx @@ -33,7 +33,8 @@ export const Toast: React.FC = props => { isLoading, closeOnClick, theme, - ariaLabel + ariaLabel, + isFocusable } = props; const defaultClassName = cx( `${Default.CSS_NAMESPACE}__toast`, @@ -81,7 +82,7 @@ export const Toast: React.FC = props => { >
extends CommonOptions { delay?: number; isLoading?: boolean; + + /** + * If true, the toast will be focusable. + * Default: true + */ + isFocusable?: boolean; } export interface UpdateOptions extends Nullable> {