WithIsPressedProps Interface

Properties for withIsPressed React higher-order component

Properties

Name Type Description
isPressed undefined | false | true initial value for pressed status  
onIsPressedChange undefined | (isPressed: boolean) => void callback function for [isPressed] change  

Defined in

Last Updated: 08 January, 2020