Skip to main content

ProofPanel

Function ProofPanel 

Source
pub fn ProofPanel(_: ProofPanelProps) -> Element
Expand description

The proof drawer: its bar with the proof’s status, and the derivation tree or the walkthrough.

§Props

For details, see the props struct definition.

  • proof_text : String

    What else the proof shows, as HTML: a grid’s answer, or why a search failed.

  • tree : Option<ProofNode>

    The derivation, once there is one.

  • status : ProofStatus

    Current proof status

  • steps : Walkthrough

    What the reader has done so far, for the walkthrough

  • height : Signal<f64>

    The drawer’s height, which its grip changes

  • on_prove : EventHandler<()>

    Prove was pressed

  • on_close : EventHandler<()>

    The drawer’s close was pressed