packageDocumentation module import "./NewBadge.scss" ; import classnames from "classnames" ; import * as React from "react" ; import { CommonProps } from "../utils/Props" ; import { Badge } from "./Badge" ; import newBadgeIcon from "./new-feature-badge.svg?sprite" ; internal export function NewBadge ( props ) { const { className , ... badgeProps } = props ; return < Badge { ... badgeProps } className = { classnames ( "core-new-badge" , className ) } svg = { newBadgeIcon } / > ; }