chore(Notification)!: rename progressColor to color and style icon

This also removes `progressVariant` prop
This commit is contained in:
Benjamin Canac
2023-05-26 18:03:54 +02:00
parent 1f22f84360
commit 1b61ec72e2
4 changed files with 34 additions and 25 deletions

View File

@@ -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
---
::