@nordcom/nordstar-accented
Version:
Highlight text with an accent color.
16 lines • 667 B
TypeScript
import { As, NordstarColor, InternalForwardRefRenderFunction } from '@nordcom/nordstar-system';
export type AccentedProps = {
as?: As;
color?: NordstarColor;
};
/**
* `<Accented/>`, a component to highlight text with an accent color.
*
* @param {object} props - `<Accented/>` props.
* @param {As} [props.as='span'] - The element to render the component as.
* @param {NordstarColor} [props.color='default'] - The color of the accented text.
* @returns {React.ReactNode} The `<Accented/>` component.
*/
declare const Accented: InternalForwardRefRenderFunction<"span", AccentedProps, never>;
export default Accented;
//# sourceMappingURL=accented.d.ts.map