/*!
 * Copyright (c) Microsoft. All rights reserved.
 * Licensed under the MIT license. See LICENSE file in the project.
 */ import { jsx as _jsx } from "react/jsx-runtime";
import { useCallback } from 'react';
import { StripedRow } from '../renderers/index.js';
/**
 *
 * @param striped -
 * @returns
 */ export function useStripedRowsRenderer(striped = false, columnBorders = false) {
    return useCallback((props)=>{
        if (!props) {
            return null;
        }
        return /*#__PURE__*/ _jsx(StripedRow, {
            ...props,
            striped: striped,
            columnBorders: columnBorders
        });
    }, [
        striped,
        columnBorders
    ]);
}
