UNPKG

@leafage/component

Version:

The React Server Side Render Framework

19 lines (17 loc) 421 B
/** * @leafage/component v1.3.2 * * Copyright (c) Leafage. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */ var RenderJudge = function RenderJudge(_ref) { var value = _ref.value, active = _ref.active, inactive = _ref.inactive; return value ? active : inactive; }; export { RenderJudge as default };