/* * Copyright (c) 2020 The ZMK Contributors * * SPDX-License-Identifier: CC-BY-NC-SA-4.0 */ import React from "react"; import PropTypes from "prop-types"; const Icon = ({ children, className, title }) => ( {children} ); Icon.propTypes = { children: PropTypes.oneOfType([PropTypes.element, PropTypes.string]) .isRequired, className: PropTypes.string.isRequired, title: PropTypes.string.isRequired, }; export const Supported = () => ( ); export const NotSupported = () => ( ); export const NotTested = () => ( ); export default function OsSupportIcon({ value }) { if (value === true) { return ; } if (value === false) { return ; } return ; } OsSupportIcon.propTypes = { value: PropTypes.oneOf([true, false, null]), };