* MM-15307 Updated to use InteractionManager Replaced the setTimeout with InteractionManager to resolve the delay set. * Updated to apply animation to the input height * Updated to apply animation to the input height * Fixed eslint issue * Updates per review * Updates from feedback
5 lines
269 B
JavaScript
5 lines
269 B
JavaScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
/* eslint-disable no-confusing-arrow */
|
|
export const ConditionalWrapper = ({conditional, wrapper, children}) => conditional ? wrapper(children) : children;
|