Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA file list where tapping opens a file and pressing and holding (or right click or the Menu key) opens an action sheet with Rename, Share and Delete for that file. Use this when a phone file manager, drive or notes list has secondary actions per item that should not clutter the row.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
Use it when a phone file manager, drive or notes list has secondary actions per item that should not clutter the row.
Do not use it for lists where the actions are the main use (show buttons) or where there is only one action.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
files | { id: string; name: string; size: string }[] | required | The files. |
onOpen | (id: string) => void | - | Tap. |
onAction | (action: "rename" | "share" | "delete", id: string) => void |
The pattern ships with a Testing Library test (file-list-long-press.test.tsx) that drives it through roles and the keyboard.