microsoft / fluentui-react-native

A react-native component library that implements the Fluent Design System.

Home Page:https://developer.microsoft.com/fluentui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed prop type: Invalid prop 'color' supplied to 'Text' when trying the sample code with Checkbox from README.md

jakobpn opened this issue · comments

  • I am willing to submit a PR to fix

Requested priority

Normal

Products/applications affected

No response

Package version(s)

0.27.0

OS version(s)

No response

Platform

  • iOS
  • macOS
  • win32
  • windows
  • android

Xcode version

No response

Please provide a reproduction of the bug

When I try the sample code from README.md, I get the following error:

image

Actual behavior

Expected behavior

Android checkbox is unable to run without a ThemeProvider, which is a bug. We should fix the default theme to have the missing entries.

Workaround supplied is to use a ThemeProvider.

Fixed with #1309