code: def to_html(self, state_dict=None, add_header=True):
      args = self.get_state_args(state_dict)
      html_inputs = [
          to_html.input(feature, args.get(feature, None), disabled=True)
          for feature in self._input_features
      ]
      html = to_html.hide(
          f"Selected: <b>{args['index']}</b>", hide=self.hide_index
      )
      if self.fill_row_first:
          html += to_html.row(
              *[
                  "".join(html_inputs[slicer])
                  for slicer in self.get_slices_rows_first(
                      len(self._input_features), self.n_input_cols
                  )
              ]
          )
      else:
          html += to_html.row(
              *[
                  "".join(html_inputs[slicer])
                  for slicer in self.get_slices_cols_first(
                      len(self._input_features), self.n_input_cols
                  )
              ]
          )
  
      html = to_html.card(
          html, title=self.title, subtitle=self.subtitle
      )
      if add_header:
          return to_html.add_header(html)
      return html
  
imports: from math import ceil
  import numpy
  import pandas
  import dash
  from dash import html, dcc, Input, Output, State, dash_table
  from dash.exceptions import PreventUpdate
  import dash_bootstrap_components
  from ..dashboard_methods import *
  from ..None import to_html
label_desc: Use image node_id 6 for calling the FeatureInputComponent obj's underlying member method code with example usage: obj.to_html(state_dict, add_header) and returns: html, to_html