react-native-toolkit/rex-state

View on GitHub
example/src/stories/CounterWithInitialValue.stories.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';
import type { Story, Meta } from '@storybook/react/types-6-0';
import { CounterWithInitialValue } from './Counter';

export default {
  title: 'Example/Counter with Initial Value',
  component: CounterWithInitialValue,
} as Meta;

const Template: Story<{}> = (args) => <CounterWithInitialValue {...args} />;

export const WithInitialValue = Template.bind({});
WithInitialValue.args = {};