mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-10 06:17:44 +01:00
2cc179acc1
- Added searchParams based router for easier testing - Added more stories to the storybook
27 lines
461 B
JavaScript
27 lines
461 B
JavaScript
import React from 'react';
|
|
|
|
|
|
export function Describe ({children}) {
|
|
return (
|
|
<div style={{maxWidth: "600px", margin: "0.8em"}}>
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export function Wrapper ({children}) {
|
|
return (
|
|
<div style={{maxWidth: "260px", margin: "0.4em"}}>
|
|
{children}
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export function InputContainer ({children}) {
|
|
return (
|
|
<div style={{maxWidth: "171px", margin: "0.4em"}}>
|
|
{children}
|
|
</div>
|
|
);
|
|
};
|
|
|