Skip to content

Commit

Permalink
fix image_format
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob committed Jul 27, 2024
1 parent 10b87fa commit fdb7bac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/3.0/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,9 @@ class Avo::Resources::Post < Avo::BaseResource
end
```

</Option>option `image_format`
</Option>

<Option name="`image_format`">
<LicenseReq license="pro" />

The image you add to a search result can have a different format based on what you set on the `card -> image_format` attribute. You may choose between three options: `:square`, `:rounded` or `:circle`.
Expand All @@ -192,6 +193,7 @@ end
```

<Image src="/assets/img/search/search_avatar.jpg" width="1400" height="794" alt="Search avatar" />
</Option>

<Option name="`help`">

Expand Down

0 comments on commit fdb7bac

Please sign in to comment.