How to use terra-signature - 1 common examples

To help you get started, we’ve selected a few terra-signature examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cerner / terra-core / packages / terra-signature / src / terra-dev-site / doc / example / SignatureExample.jsx View on Github external
constructor() {
    super();

    this.state = { lineSegments: [], lineWidth: Signature.Opts.Width.FINE };

    this.handleSingleLine = this.handleSingleLine.bind(this);
    this.handleClear = this.handleClear.bind(this);
    this.handleLineWidth = this.handleLineWidth.bind(this);
  }

terra-signature

A signature defined by an array of line segments.

Apache-2.0
Latest version published 2 months ago

Package Health Score

88 / 100
Full package analysis

Popular terra-signature functions