import React, { forwardRef } from "react";
import { TextMicro } from "@netdata/netdata-ui";
import StyledPill from "./styled";
const Pill = forwardRef(({ children, background, color, hollow, ...rest }, ref) => (React.createElement(StyledPill, Object.assign({ background: background, hollow: hollow, ref: ref }, rest),
    React.createElement(TextMicro, { color: hollow ? background : color, strong: true }, children))));
export default Pill;
//# sourceMappingURL=index.js.map