diff --git a/src/app/components/splitbutton/splitbutton.ts b/src/app/components/splitbutton/splitbutton.ts index 6dcb1ff7539..85af2d06800 100755 --- a/src/app/components/splitbutton/splitbutton.ts +++ b/src/app/components/splitbutton/splitbutton.ts @@ -115,7 +115,7 @@ export class SplitButton { * Defines the style of the button. * @group Props */ - @Input() severity: 'success' | 'info' | 'warning' | 'danger' | 'help' | 'primary' | 'secondary' | 'contrast' | null | undefined; + @Input() severity: 'success' | 'info' | 'warn' | 'danger' | 'help' | 'primary' | 'secondary' | 'contrast' | null | undefined; /** * Add a shadow to indicate elevation. * @group Props diff --git a/src/app/showcase/doc/apidoc/index.json b/src/app/showcase/doc/apidoc/index.json index 64913dd3ba0..d62ee5bffc8 100644 --- a/src/app/showcase/doc/apidoc/index.json +++ b/src/app/showcase/doc/apidoc/index.json @@ -22094,7 +22094,7 @@ "name": "severity", "optional": false, "readonly": false, - "type": "\"success\" | \"info\" | \"warning\" | \"primary\" | \"help\" | \"danger\" | \"secondary\" | \"contrast\"", + "type": "\"success\" | \"info\" | \"warn\" | \"primary\" | \"help\" | \"danger\" | \"secondary\" | \"contrast\"", "description": "Defines the style of the button." }, {