mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
23 lines
439 B
JavaScript
23 lines
439 B
JavaScript
import React from 'react';
|
|
import Switch from './switch';
|
|
|
|
export default { title: 'Navigation | Sliding Switch' };
|
|
|
|
export const _design = () => (
|
|
<Switch
|
|
optionItems={[
|
|
{ label: 'DESIGN', selected: true },
|
|
{ label: 'DEBUG', selected: false },
|
|
]}
|
|
/>
|
|
);
|
|
|
|
export const _debug = () => (
|
|
<Switch
|
|
optionItems={[
|
|
{ label: 'DESIGN', selected: false },
|
|
{ label: 'DEBUG', selected: true },
|
|
]}
|
|
/>
|
|
);
|