Module

React.Keybind.Internal

Package
purescript-react-keybind
Repository
EpicOrange/purescript-react-keybind

#shortcutProvider' Source

shortcutProvider' :: forall props_ props. Union props props_ ProviderPropsRow => ReactComponent (Record props)

#withShortcut' Source

withShortcut' :: forall shortcut props. Union WithShortcutPropsRow' props shortcut => EffectFn1 (ReactComponent (Record shortcut)) (ReactComponent (Record props))

#shortcutConsumerImpl Source

#withShortcutImpl Source

withShortcutImpl :: forall props_ props. EffectFn1 (ReactComponent props) (ReactComponent props_)

#UndefinedOr Source

newtype UndefinedOr a

Constructors

Instances

#RegisterShortcutFnType Source

#RegisterSequenceShortcutFnType Source

#IShortcut' Source

type IShortcut' = { description :: String, hold :: Number, holdDuration :: String, id :: String, keys :: Array String, method :: EventHandler', sequence :: Boolean, title :: String }

#ProviderRenderPropsRow' Source

type ProviderRenderPropsRow' = (registerSequenceShortcut :: RegisterSequenceShortcutFnType, registerShortcut :: RegisterShortcutFnType, shortcuts :: Array IShortcut', triggerShortcut :: EffectFn1 String Unit, unregisterShortcut :: EffectFn1 (Array String) Unit)

#WithShortcutPropsRow' Source