Skip to content

Commit

Permalink
docs: clean up examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahdayan committed Apr 13, 2021
1 parent 007a7d6 commit 7690dea
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 19 deletions.
1 change: 0 additions & 1 deletion examples/query-suggestions/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,5 @@ autocomplete({
container: '#autocomplete',
placeholder: 'Search',
openOnFocus: true,
debug: true,
plugins: [querySuggestionsPlugin],
});
7 changes: 1 addition & 6 deletions examples/react-renderer/src/Autocomplete.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,7 @@ export function Autocomplete(
type="button"
title="Select"
>
<svg
fill="currentColor"
viewBox="0 0 24 24"
width="20"
height="20"
>
<svg fill="currentColor" viewBox="0 0 24 24">
<path d="M18.984 6.984h2.016v6h-15.188l3.609 3.609-1.406 1.406-6-6 6-6 1.406 1.406-3.609 3.609h13.172v-4.031z" />
</svg>
</button>
Expand Down
7 changes: 1 addition & 6 deletions examples/recently-viewed-items/recentlyViewedItemsPlugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,7 @@ export function createLocalStorageRecentlyViewedItems<
</div>
) : (
<div className="aa-ItemIcon aa-ItemIcon--noBorder">
<svg
viewBox="0 0 24 24"
width="18"
height="18"
fill="currentColor"
>
<svg viewBox="0 0 24 24" fill="currentColor">
<path d="M12.516 6.984v5.25l4.5 2.672-0.75 1.266-5.25-3.188v-6h1.5zM12 20.016q3.281 0 5.648-2.367t2.367-5.648-2.367-5.648-5.648-2.367-5.648 2.367-2.367 5.648 2.367 5.648 5.648 2.367zM12 2.016q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055-7.055 2.93-7.055-2.93-2.93-7.055 2.93-7.055 7.055-2.93z" />
</svg>
</div>
Expand Down
2 changes: 0 additions & 2 deletions packages/website/docs/including-multiple-result-types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,6 @@ export const predefinedItemsPlugin = {
<div className="aa-ItemContent">
<div className="aa-ItemIcon aa-ItemIcon--noBorder">
<svg
width="18"
height="18"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
Expand Down
2 changes: 0 additions & 2 deletions packages/website/src/components/AutocompleteStaticItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ export function AutocompleteStaticItem({ hit }: AutocompleteStaticItemProps) {
<div className="aa-ItemContent">
<div className="aa-ItemIcon aa-ItemIcon--noBorder">
<svg
width="18"
height="18"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
Expand Down
2 changes: 0 additions & 2 deletions packages/website/src/components/linksPlugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ export function createLinksPlugin({
<div className="aa-ItemContent">
<div className="aa-ItemIcon aa-ItemIcon--noBorder">
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
Expand Down

0 comments on commit 7690dea

Please sign in to comment.