Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: changed story name
Browse files Browse the repository at this point in the history
hkfb committed Nov 13, 2023
1 parent ae3f7bb commit fd86340
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -888,6 +888,10 @@ export const TypedArrayInput: StoryFn<
return <SubsurfaceViewer {...subsurfaceViewerArgs} />;
};

/* export const TypedArrayInput: StoryFn<typeof SubsurfaceViewer> = (args) => {
return <TypedArrayInputStory {...args} />;
};
*/
TypedArrayInput.args = {
dimension: 300,
};
@@ -1421,9 +1425,9 @@ ContourLines.args = {
marginPixels: 0,
};

export const ClippingExtension: StoryFn<
SubsurfaceViewerProps & { clipX: number }
> = (args) => {
export const Extensions: StoryFn<SubsurfaceViewerProps & { clipX: number }> = (
args
) => {
const rightClipBounds = [
args.bounds?.[0] + args.clipX,
args.bounds?.[1],
@@ -1463,14 +1467,14 @@ export const ClippingExtension: StoryFn<
return <SubsurfaceViewer {...args} layers={layers}></SubsurfaceViewer>;
};

ClippingExtension.args = {
Extensions.args = {
id: "map",
...defaultArgs,
views: DEFAULT_VIEWS,
clipX: 1000,
};

ClippingExtension.argTypes = {
Extensions.argTypes = {
clipX: {
control: { type: "range", min: 0, max: 8000, step: 10 },
},

0 comments on commit fd86340

Please sign in to comment.