Skip to content

Commit 4d1a1c7

Browse files
docs(examples): update GitHub example
1 parent f45ed6b commit 4d1a1c7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

examples/github-repositories-custom-plugin/app.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ const gitHubReposPlugin = createGitHubReposPlugin({
1111

1212
autocomplete({
1313
container: '#autocomplete',
14+
placeholder: 'Search repositories',
1415
plugins: [gitHubReposPlugin],
1516
});

examples/github-repositories-custom-plugin/createGitHubReposPlugin.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export function createGitHubReposPlugin(
8282
<div className="aa-ItemContentBody">
8383
<div className="aa-ItemContentTitle">
8484
<div style={{ display: 'flex' }}>
85-
<div style={{ fontWeight: 500 }}>
85+
<div style={{ fontWeight: 700 }}>
8686
{item.full_name}
8787
</div>
8888
<div

0 commit comments

Comments
 (0)