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
shortcutConsumerImpl :: ReactComponent { children :: ProviderRenderProps' -> Array JSX }#withShortcutImpl Source
withShortcutImpl :: forall props_ props. EffectFn1 (ReactComponent props) (ReactComponent props_)#RegisterShortcutFnType Source
data RegisterShortcutFnType :: Type#RegisterSequenceShortcutFnType Source
data RegisterSequenceShortcutFnType :: Type#EventHandler' Source
type EventHandler' = EffectFn1 (UndefinedOr SyntheticEvent) Unit#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
type WithShortcutPropsRow' = (shortcut :: ProviderRenderProps')