Type alias FragmentComponentGenerator<P>

FragmentComponentGenerator<P>: ((props) => (string | Element)[])

a function that takes in a single Props object variable, and generates an array of HTML elements (aka a fragment).

Type Parameters

  • P = {}

Type declaration

    • (props): (string | Element)[]
    • Parameters

      • props: P

      Returns (string | Element)[]

Generated using TypeDoc