diff --git a/README.md b/README.md index cacb642..ceb786b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Please visit to [docs website](https://trendyol.github.io/react-carousel/docs/in # Installation ``` -npm i react react-dom @trendyol/react-carousel --save +npm i react react-dom @trendyol-js/react-carousel --save ``` # Usage @@ -16,7 +16,7 @@ npm i react react-dom @trendyol/react-carousel --save ```jsx import React from 'react'; import ReactDOM from 'react-dom'; -import { Carousel } from '@trendyol/react-carousel'; +import { Carousel } from '@trendyol-js/react-carousel'; import { Item } from './yourItem'; ReactDOM.render( @@ -29,4 +29,3 @@ ReactDOM.render( document.getElementById('root'), ); ``` - diff --git a/package-lock.json b/package-lock.json index 49c2bd4..820bcfb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "@trendyol/react-carousel", + "name": "@trendyol-js/react-carousel", "version": "1.0.0", "lockfileVersion": 1, "requires": true, diff --git a/package.json b/package.json index 13af280..4089c55 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@trendyol/react-carousel", + "name": "@trendyol-js/react-carousel", "version": "1.0.0", "description": "Lightweight carousel component for react", "main": "dist/cjs/index.js", diff --git a/website/docs/infinityCarousel.md b/website/docs/infinityCarousel.md index ba08073..3deef2b 100644 --- a/website/docs/infinityCarousel.md +++ b/website/docs/infinityCarousel.md @@ -5,7 +5,7 @@ title: Infinite Carousel Carousel is infinite at default -import {Carousel} from '@trendyol/react-carousel'; +import {Carousel} from '@trendyol-js/react-carousel'; export const Highlight = ({children, color}) => ( ( - Docusaurus was designed from the ground up to be easily installed and used to get - your website up and running quickly. + Docusaurus was designed from the ground up to be easily installed and used + to get your website up and running quickly. ), }, @@ -24,8 +24,8 @@ const features = [ imageUrl: 'img/undraw_docusaurus_tree.svg', description: ( <> - Docusaurus lets you focus on your docs, and we'll do the chores. Go ahead and - move your docs into the docs directory. + Docusaurus lets you focus on your docs, and we'll do the chores. Go + ahead and move your docs into the docs directory. ), }, @@ -34,8 +34,8 @@ const features = [ imageUrl: 'img/undraw_docusaurus_react.svg', description: ( <> - Extend or customize your website layout by reusing React. Docusaurus can be - extended while reusing the same header and footer. + Extend or customize your website layout by reusing React. Docusaurus can + be extended while reusing the same header and footer. ), },