writingboard

1.5.0 • Public • Published

import { SlateWriter } from 'writingboard/writingboard';

Screenshots

alt text alt text alt text alt text

the component will be rendered inside a contained of some hieght.

<div style={{ height: '80vh' }}>
  <SlateWriter
  hideSettings={true}
    strokeColor='orange'
    eraserDimension={100}
    strokeThickness={3}
    slateColor='purple'
    eraserColor='white'
    floatingSettings={true}
  />
</div>

properties

Parameters default value supported values
strokeColor Black all colors
eraserDimension 40 1-100
strokeThickness 3 1-5
strokeThickness 3 1-5
slateColor white any color
eraserColor black any color
floatingSettings false true/false
hideSettings false true/false

Readme

Keywords

none

Package Sidebar

Install

npm i writingboard

Weekly Downloads

9

Version

1.5.0

License

ISC

Unpacked Size

46.5 kB

Total Files

3

Last publish

Collaborators

  • rahul0027