codegouvfr / codegouvfr/react-dsfr

Add default value for SearchBar component

Open
#380 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
496
Forks
99
Avg merge
15h 36m
Merged PRs (30d)
4

Description

It would be great to have the ability to set a default value for the `SearchBar` component without having to redeclare the whole input using the `renderInput` props.

I will propose a PR to add an additional `defaultValue` props.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.