Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
convertGardenToPopperPlacement = () => {
const { placement } = this.props;
if (isRtl(this.props)) {
return getRtlPopperPlacement(placement);
}
return getPopperPlacement(placement);
};
convertGardenToPopperPlacement = () => {
const { placement } = this.props;
if (isRtl(this.props)) {
return getRtlPopperPlacement(placement);
}
return getPopperPlacement(placement);
};