mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-24 00:40:34 +01:00
chore(Notification)!: rename progressColor to color and style icon
This also removes `progressVariant` prop
This commit is contained in:
@@ -92,8 +92,8 @@ baseProps:
|
||||
id: 4
|
||||
timeout: 0
|
||||
title: 'Notification'
|
||||
description: 'This is a notification.'
|
||||
props:
|
||||
description: 'This is a notification.'
|
||||
avatar:
|
||||
src: 'https://avatars.githubusercontent.com/u/739984?v=4'
|
||||
excludedProps:
|
||||
@@ -118,7 +118,9 @@ props:
|
||||
---
|
||||
::
|
||||
|
||||
You can change the color of the progress bar through the `progress-color` prop.
|
||||
### Color
|
||||
|
||||
Use the `color` prop to change the progress and icon color of the Notification.
|
||||
|
||||
::component-card
|
||||
---
|
||||
@@ -128,7 +130,10 @@ baseProps:
|
||||
description: 'This is a notification.'
|
||||
timeout: 600000
|
||||
props:
|
||||
progressColor: 'primary'
|
||||
icon: 'i-heroicons-x-circle'
|
||||
color: 'red'
|
||||
excludedProps:
|
||||
- icon
|
||||
---
|
||||
::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user