Skip to content

Commit 6a648fe

Browse files
build: use namespace for package
1 parent bdeb37c commit 6a648fe

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"version": "1.0.0",
3-
"name": "react-remark",
2+
"version": "0.0.0",
3+
"name": "@christianmurphy/react-remark",
44
"description": "Renders Markdown as React components",
55
"author": "Christian Murphy <[email protected]>",
66
"license": "MIT",

readme.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
_npm_
1010

1111
```
12-
npm install --save react-remark
12+
npm install --save @christianmurphy/react-remark
1313
```
1414

1515
_yarn_
1616

1717
```
18-
yarn add react-remark
18+
yarn add @christianmurphy/react-remark"
1919
```
2020

2121
## Usage
@@ -26,7 +26,7 @@ yarn add react-remark
2626

2727
```tsx
2828
import React from 'react';
29-
import { useRemark } from 'react-remark';
29+
import { useRemark } from '@christianmurphy/react-remark';
3030

3131
const ExampleComponent = () => {
3232
const [reactContent, setMarkdownSource] = useRemark();
@@ -43,7 +43,7 @@ export default ExampleComponent;
4343

4444
```tsx
4545
import React from 'react';
46-
import { useRemark } from 'react-remark';
46+
import { useRemark } from '@christianmurphy/react-remark';
4747

4848
const ExampleComponent = () => {
4949
const [reactContent, setMarkdownSource] = useRemark();
@@ -70,6 +70,7 @@ export default ExampleComponent;
7070

7171
```tsx
7272
import React, { useState } from 'react';
73+
import { Remark } from '@christianmurphy/react-remark';
7374

7475
const ExampleComponent = () => (
7576
<Remark>{`
@@ -87,7 +88,7 @@ export default ExampleComponent;
8788

8889
```tsx
8990
import React, { useState } from 'react';
90-
import { Remark } from 'react-remark';
91+
import { Remark } from '@christianmurphy/react-remark';
9192

9293
const ExampleComponent = () => {
9394
const [markdownSource, setMarkdownSource] = useState('');
@@ -125,7 +126,7 @@ The source for the story files can be found in [_/stories_](./stories).
125126

126127
```tsx
127128
import React, { Fragment } from 'react';
128-
import { useRemark } from 'react-remark';
129+
import { useRemark } from '@christianmurphy/react-remark';
129130
import remarkGemoji from 'remark-gemoji';
130131
import rehypeAutoLinkHeadings from 'rehype-autolink-headings';
131132

@@ -148,7 +149,7 @@ const [reactContent, setMarkdownSource] = useRemark({
148149

149150
```tsx
150151
import React, { Fragment } from 'react';
151-
import { useRemark } from 'react-remark';
152+
import { useRemark } from '@christianmurphy/react-remark';
152153
import remarkGemoji from 'remark-gemoji';
153154
import rehypeAutoLinkHeadings from 'rehype-autolink-headings';
154155

0 commit comments

Comments
 (0)