11 lines
328 B
Plaintext
11 lines
328 B
Plaintext
module SketchToolbar = {
|
|
@module("./SketchToolbar.jsx") @react.component
|
|
external make: (
|
|
~state: UseSketch.sketchState,
|
|
~onSetTool: UseSketch.tool => unit,
|
|
~onSetColor: UseSketch.color => unit,
|
|
~onClear: unit => unit,
|
|
~onSave: unit => unit,
|
|
~onClose: unit => unit,
|
|
) => React.element = "default"
|
|
} |