You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| icon | An optional Image.ImageLike that will be used as the icon. | <code>[Image.ImageLike](icons-and-images.md#image.imagelike)</code> or <code>null</code> |
659
+
| tooltip | An optional tooltip shown when the accessory is hovered. | <code>string</code> or <code>null</code> |
660
+
661
+
#### Example
662
+
663
+
```typescript
664
+
import { Icon, Grid } from"@raycast/api";
665
+
666
+
exportdefaultfunction Command() {
667
+
return (
668
+
<Grid>
669
+
<Grid.Item
670
+
title="Daredevil"
671
+
accessory={{
672
+
icon: Icon.FilmStrip,
673
+
tooltip: "TV Show"
674
+
}}
675
+
/>
676
+
</Grid>
677
+
);
678
+
}
679
+
```
680
+
654
681
### Grid.Inset
655
682
656
683
An enum representing the amount of space there should be between a Grid Item's content and its borders. The absolute value depends on the value of [Grid](#grid)'s or [Grid.Section](#grid.section)'s `columns` prop.
0 commit comments