import { Component } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { SelectButtonModule } from 'primeng/selectbutton'; import { AppDocSectionText } from '@/components/doc/app.docsectiontext'; import { AppCode } from '@/components/doc/app.code'; @Component({ selector: 'basic-doc', standalone: true, imports: [FormsModule, SelectButtonModule, AppDocSectionText, AppCode], template: `

SelectButton requires a value to bind and a collection of options.

` }) export class BasicDoc { stateOptions: any[] = [ { label: 'One-Way', value: 'one-way' }, { label: 'Return', value: 'return' } ]; value: string = 'one-way'; }