18 lines
360 B
Handlebars
18 lines
360 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
}}
|
|
|
|
<div class='info-field{{if @icon " has-icon"}}'>
|
|
{{#if @icon}}
|
|
<FlightIcon @name={{@icon}} @size='24' />
|
|
{{/if}}
|
|
<Hds::Form::TextInput::Field
|
|
@value={{@value}}
|
|
readonly={{true}}
|
|
...attributes
|
|
as |F|
|
|
>
|
|
{{yield F}}
|
|
</Hds::Form::TextInput::Field>
|
|
</div> |