mirrored_repositories/espresso-cash-public/packages/espressocash_app/lib/storybook
import 'package:flutter/material.dart';
import 'package:storybook_flutter/storybook_flutter.dart';

import '../../ui/text_field.dart';
import '../utils.dart';

final cpTextField = Story(
  name: 'CpTextField',
  builder: (context) => Padding(
    padding: const EdgeInsets.all(16),
    child: CpTextField(
      border: context.knobs.options(
        label: 'Border',
        initial: CpTextFieldBorder.rounded,
        options: CpTextFieldBorder.values.toOptions(),
      ),
    ),
  ),
);
