json-joy
Version:
Collection of libraries for building collaborative editing apps.
13 lines (12 loc) • 346 B
JavaScript
// biome-ignore lint: React is used for JSX
import * as React from 'react';
import { rule } from 'nano-theme';
const delClass = rule({
bg: '#ffebe9',
bxsh: '0 2px 0 0 #ffcecb',
col: 'red',
});
export const Del = (props) => {
const { children } = props;
return React.createElement("del", { className: delClass }, children);
};