New: Implement propTypes.stringLiteral()

This commit is contained in:
Aria Minaei 2021-07-03 15:03:52 +02:00
parent 9809042762
commit 4038ad34a4
2 changed files with 25 additions and 3 deletions

View file

@ -65,6 +65,7 @@ const propEditorByPropType: {
string: () => <>Implement me</>,
enum: () => <>Implement me</>,
boolean: () => <>Implement me</>,
stringLiteral: () => <>Implement me</>,
}
const DeterminePropEditor: React.FC<{