@manta-eu/react/use-recent-commands
Reference for @manta-eu/react/use-recent-commands as it is on main.
Type Aliases
StoredCommand
StoredCommand =
object
Properties
href
href:
string
id
id:
string
title
title:
string
Functions
useRecentCommands()
useRecentCommands(
storageKey):object
Parameters
storageKey
string
Returns
object
addRecentCommand
addRecentCommand: (
command) =>void
Parameters
command
Returns
void
recentCommands
recentCommands:
StoredCommand[]