Skip to content

Commit

Permalink
iconfield api docs added
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcetin01140 committed Feb 23, 2024
1 parent 2d55637 commit 7ff9be4
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 374 deletions.
276 changes: 0 additions & 276 deletions src/app/components/iconfield/iconfield.css

This file was deleted.

89 changes: 0 additions & 89 deletions src/app/components/iconfield/iconfield.interface.ts

This file was deleted.

13 changes: 6 additions & 7 deletions src/app/components/iconfield/iconfield.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import { CommonModule } from '@angular/common';
import {
Component,
Input,
NgModule,
} from '@angular/core';
import { Component, Input, NgModule } from '@angular/core';

import { SharedModule } from 'primeng/api';


/**
* IconField wraps an input and an icon.
* @group Components
Expand All @@ -21,7 +16,11 @@ import { SharedModule } from 'primeng/api';
}
})
export class IconField {
@Input() iconPosition: string | undefined;
/**
* Position of the icon.
* @group Props
*/
@Input() iconPosition: 'right' | 'left' = 'right';
}

@NgModule({
Expand Down
Loading

0 comments on commit 7ff9be4

Please sign in to comment.