import{_ as _extends}from"./_rollupPluginBabelHelpers-B5fk9IVe.js";import React__default from"react";import PropTypes from"prop-types";const DataListContext=React__default.createContext(),useDataListContext=()=>React__default.useContext(DataListContext),DataList=a=>{let{selectable:c=!1,className:d="",children:e=null,...b}=a;return React__default.createElement(DataListContext.Provider,{value:{selectable:c}},React__default.createElement("div",{className:`juno-datalist-container`},React__default.createElement("ul",_extends({className:`juno-datalist ${d}`},b),e)))};DataList.propTypes={selectable:PropTypes.bool,className:PropTypes.string,children:PropTypes.node};export{DataList as D,useDataListContext as u};