Skip to content

Commit

Permalink
docs(bar): update bar codesandbox urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Coltin Kifer committed May 5, 2024
1 parent 8f3c532 commit 058d323
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const data = [
];

export default class Example extends PureComponent {
static demoUrl = 'https://codesandbox.io/s/bar-chart-has-background-62zcd';
static demoUrl = 'https://codesandbox.io/p/sandbox/bar-chart-has-background-32n2fm';

render() {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/docs/exampleComponents/BarChart/BarChartNoPadding.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const data = [
];

export default class Example extends PureComponent {
static demoUrl = 'https://codesandbox.io/s/bar-chart-has-no-padding-jphoc';
static demoUrl = 'https://codesandbox.io/p/sandbox/bar-chart-has-no-padding-2hlnt8';

render() {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const data = [
];

export default class Example extends PureComponent {
static demoUrl = 'https://codesandbox.io/s/bar-chart-stacked-by-sign-cbct8';
static demoUrl = 'https://codesandbox.io/p/sandbox/bar-chart-stacked-by-sign-k39xv3';

render() {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { PureComponent } from 'react';
import { BarChart, Bar, Cell, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer } from 'recharts';

export default class Example extends PureComponent {
static demoUrl = 'https://codesandbox.io/s/bar-chart-with-customized-event-4k1bd';
static demoUrl = 'https://codesandbox.io/p/sandbox/bar-chart-with-customized-event-mmwz85';

state = {
data: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const renderCustomizedLabel = (props) => {
};

export default class Example extends PureComponent {
static demoUrl = 'https://codesandbox.io/s/bar-chart-with-min-height-3ilfq';
static demoUrl = 'https://codesandbox.io/p/sandbox/bar-chart-with-min-height-9nmfg9';

render() {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const renderQuarterTick = (tickProps) => {
return null;
};
export default class Example extends PureComponent {
static demoUrl = 'https://codesandbox.io/s/bar-chart-with-double-xaxis-dfug7';
static demoUrl = 'https://codesandbox.io/p/sandbox/bar-chart-with-double-xaxis-zly7wl';

render() {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/docs/exampleComponents/BarChart/BiaxialBarChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const data = [
];

export default class Example extends PureComponent {
static demoUrl = 'https://codesandbox.io/s/bar-chart-with-double-yaxis-zr232';
static demoUrl = 'https://codesandbox.io/p/sandbox/bar-chart-with-double-yaxis-39dhps';

render() {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/docs/exampleComponents/BarChart/BrushBarChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const data = [
];

export default class Example extends PureComponent {
static demoUrl = 'https://codesandbox.io/s/bar-chart-with-brush-ghsz3';
static demoUrl = 'https://codesandbox.io/p/sandbox/bar-chart-with-brush-twqyp2';

render() {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/docs/exampleComponents/BarChart/CustomShapeBarChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ export default function App() {
);
}

App.demoUrl = 'https://codesandbox.io/s/bar-chart-with-customized-shape-dusth';
App.demoUrl = 'https://codesandbox.io/p/sandbox/bar-chart-with-customized-shape-jpsj68';
4 changes: 2 additions & 2 deletions src/docs/exampleComponents/BarChart/MixBarChart.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { PureComponent } from 'react';
import { BarChart, Bar, Cell, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer } from 'recharts';
import { BarChart, Bar, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer } from 'recharts';

const data = [
{
Expand Down Expand Up @@ -47,7 +47,7 @@ const data = [
];

export default class Example extends PureComponent {
static demoUrl = 'https://codesandbox.io/s/mixed-bar-chart-q4hgc';
static demoUrl = 'https://codesandbox.io/p/sandbox/mixed-bar-chart-lv3l68';

render() {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const data = [
];

export default class Example extends PureComponent {
static demoUrl = 'https://codesandbox.io/s/bar-chart-with-positive-negative-i3b8b';
static demoUrl = 'https://codesandbox.io/p/sandbox/bar-chart-with-positive-negative-hnhn3v';

render() {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/docs/exampleComponents/BarChart/SimpleBarChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const data = [
];

export default class Example extends PureComponent {
static demoUrl = 'https://codesandbox.io/s/simple-bar-chart-tpz8r';
static demoUrl = 'https://codesandbox.io/p/sandbox/simple-bar-chart-72d7y5';

render() {
return (
Expand Down
4 changes: 2 additions & 2 deletions src/docs/exampleComponents/BarChart/StackedBarChart.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { PureComponent } from 'react';
import { BarChart, Bar, Cell, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer } from 'recharts';
import { BarChart, Bar, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer } from 'recharts';

const data = [
{
Expand Down Expand Up @@ -47,7 +47,7 @@ const data = [
];

export default class Example extends PureComponent {
static demoUrl = 'https://codesandbox.io/s/stacked-bar-chart-s47i2';
static demoUrl = 'https://codesandbox.io/p/sandbox/stacked-bar-chart-7fwfgj';

render() {
return (
Expand Down
4 changes: 2 additions & 2 deletions src/docs/exampleComponents/BarChart/TinyBarChart.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { PureComponent } from 'react';
import { BarChart, Bar, Cell, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer } from 'recharts';
import { BarChart, Bar, ResponsiveContainer } from 'recharts';

const data = [
{
Expand Down Expand Up @@ -47,7 +47,7 @@ const data = [
];

export default class Example extends PureComponent {
static demoUrl = 'https://codesandbox.io/s/tiny-bar-chart-35meb';
static demoUrl = 'https://codesandbox.io/p/sandbox/tiny-bar-chart-xzyy8g';

render() {
return (
Expand Down

0 comments on commit 058d323

Please sign in to comment.