File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 1
1
react-only-when
2
2
===
3
3
4
- [ ![ Build & Deploy] ( https://github.com/uiwjs/react-only-when/actions/workflows/ci.yml/badge.svg )] ( https://github.com/uiwjs/react-only-when/actions/workflows/ci.yml ) [ ![ npm bundle size] ( https://img.shields.io/bundlephobia/minzip/@uiw/react-only-when )] ( https://www.npmjs.com/package/@uiw/react-only-when ) [ ![ npm version] ( https://img.shields.io/npm/v/@uiw/react-md-editor.svg )] ( https://www.npmjs.com/package/@uiw/react-md-editor )
4
+ [ ![ Build & Deploy] ( https://github.com/uiwjs/react-only-when/actions/workflows/ci.yml/badge.svg )] ( https://github.com/uiwjs/react-only-when/actions/workflows/ci.yml ) [ ![ npm bundle size] ( https://img.shields.io/bundlephobia/minzip/@uiw/react-only-when )] ( https://www.npmjs.com/package/@uiw/react-only-when ) [ ![ npm version] ( https://img.shields.io/npm/v/@uiw/react-md-editor.svg )] ( https://www.npmjs.com/package/@uiw/react-md-editor ) [ ![ Coverage Status ] ( https://coveralls.io/repos/github/uiwjs/react-only-when/badge.svg?branch=main )] ( https://coveralls.io/github/uiwjs/react-only-when?branch=main )
5
5
6
6
A declarative component for conditional rendering. Copy [ ` react-only-when ` ] ( https://github.com/sag1v/react-only-when ) , let it support TypeScript.
7
7
Original file line number Diff line number Diff line change 1
- import React from 'react' ;
2
1
import ReactDOM from 'react-dom' ;
3
2
import MarkdownPreview from '@uiw/react-markdown-preview' ;
4
3
import GitHubCorners from '@uiw/react-github-corners' ;
You can’t perform that action at this time.
0 commit comments