mirror of
https://github.com/tenrok/BBob.git
synced 2026-06-05 16:42:27 +03:00
fix: caseFreeTags types (#267)
* fix: try to fix types * fix: changeset
This commit is contained in:
@@ -10,8 +10,12 @@ import { render } from '@testing-library/react'
|
||||
|
||||
import BBCode from '../src';
|
||||
|
||||
const renderBBCode = (input, options) => render(
|
||||
<BBCode plugins={[preset()]} options={options}>{input}</BBCode>
|
||||
import type { BBobCoreOptions } from "@bbob/types";
|
||||
|
||||
const plugins = [preset()]
|
||||
|
||||
const renderBBCode = (input: string, options?: BBobCoreOptions) => render(
|
||||
<BBCode plugins={plugins} options={options}>{input}</BBCode>
|
||||
).container.innerHTML;
|
||||
|
||||
describe('@bbob/react', () => {
|
||||
|
||||
Reference in New Issue
Block a user