18 lines
374 B
JavaScript
18 lines
374 B
JavaScript
/*
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
*
|
|
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
|
*/
|
|
|
|
import React from "react";
|
|
import PropTypes from "prop-types";
|
|
|
|
export default function Context({ children }) {
|
|
return <p className="context">{children}</p>;
|
|
}
|
|
|
|
Context.propTypes = {
|
|
children: PropTypes.oneOfType([PropTypes.element, PropTypes.string])
|
|
.isRequired,
|
|
};
|