Closed gingeranyhow closed 5 years ago
Hi,
Adding allowed directions to the configuration object throws type errors around Direction being undefined. Do you know if this configuration option is allowed? Thanks!
``` <Swing className="stack" tagName="div" setStack={(stack)=> this.setState({stack:stack})} ref="stack" config={ allowedDirections:[Direction.LEFT]} throwout={(e)=>console.log('throwout',e)} >
Use https://github.com/gajus/swing in your project and then: import { Direction } from 'swing';
Hi,
Adding allowed directions to the configuration object throws type errors around Direction being undefined. Do you know if this configuration option is allowed? Thanks!