mirrored_repositories/AppFlowy/frontend/appflowy_flutter/lib/plugins/base
import 'package:appflowy/plugins/base/icon/icon_picker.dart';
import 'package:appflowy/plugins/base/icon/icon_picker_page.dart';
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';

class MobileEmojiPickerScreen extends StatelessWidget {
  const MobileEmojiPickerScreen({super.key, this.title});

  final String? title;

  static const routeName = '/emoji_picker';
  static const pageTitle = 'title';

  @override
  Widget build(BuildContext context) {
    return IconPickerPage(
      title: title,
      onSelected: (result) {
        context.pop<EmojiPickerResult>(result);
      },
    );
  }
}
