/* @oracle/oraclejet-preact: undefined */
'use strict';

var jsxRuntime = require('preact/jsx-runtime');
var useHover = require('./useHover-c099039f.js');
var StyledCard = require('./StyledCard-67d90e2e.js');

/**
 * A selection card is a container element that is a part of a collection of elements, and renders a group of related information in a styled rectangular area.
 * Width, height, and backgroundColor are set through props.
 */
const SelectionCard = ({ children, isSelected = false, testId, ...rest }) => {
    const { hoverProps, isHover } = useHover.useHover();
    return (jsxRuntime.jsx(StyledCard.StyledCard, { ...hoverProps, display: "inlineFlex", isHover: isHover, isSelected: isSelected, parentComponentVariant: "selectionCard", testId: testId, ...rest, children: children }));
};

exports.SelectionCard = SelectionCard;
//# sourceMappingURL=SelectionCard-ddefd698.js.map
