diff --git a/src/app/components/tag/tag.ts b/src/app/components/tag/tag.ts index 10ba9b71fb8..fe797103565 100755 --- a/src/app/components/tag/tag.ts +++ b/src/app/components/tag/tag.ts @@ -8,7 +8,7 @@ import { PrimeTemplate, SharedModule } from 'primeng/api'; @Component({ selector: 'p-tag', template: ` - + @@ -31,7 +31,7 @@ export class Tag { * Inline style of the component. * @group Props */ - @Input() style: { [klass: string]: any } | null | undefined; + @Input() tagStyle: { [klass: string]: any } | null | undefined; /** * Style class of the component. * @group Props diff --git a/src/app/showcase/doc/apidoc/index.json b/src/app/showcase/doc/apidoc/index.json index 89d11a3fd44..70fc80291f3 100644 --- a/src/app/showcase/doc/apidoc/index.json +++ b/src/app/showcase/doc/apidoc/index.json @@ -21306,7 +21306,7 @@ "description": "Defines the input properties of the component.", "values": [ { - "name": "style", + "name": "tagStyle", "optional": false, "readonly": false, "type": "Object", diff --git a/src/app/showcase/doc/tag/templatedoc.ts b/src/app/showcase/doc/tag/templatedoc.ts index 647bd1b07fd..ec2aced0efe 100644 --- a/src/app/showcase/doc/tag/templatedoc.ts +++ b/src/app/showcase/doc/tag/templatedoc.ts @@ -8,7 +8,7 @@ import { Code } from '../../domain/code';

Children of the component are passed as the content for templating.

- +
Country Italia @@ -26,7 +26,7 @@ export class TemplateDoc { code: Code = { basic: ` - +
Country Italia @@ -35,7 +35,7 @@ export class TemplateDoc { `, html: `
- +
Country Italia