bastilian-tabletools
    Preparing search index...

    Function useRadioSelect

    • Provides props to enable the Patternfly Table radio select feature

      Parameters

      • Optionaloptions: { onRadioSelect?: Function; total?: number }

        TableTools options

        • OptionalonRadioSelect?: Function

          A function to call when a row is selected

        • Optionaltotal?: number

          The total of items to determine wether or not to show the radio buttons

      Returns object

      An object of props meant to be used in the TableToolsTable