Skip to content

Commit b127591

Browse files
committed
1 parent 5df9212 commit b127591

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/assets/search-bar.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11

22
.fr-search-bar {
33
position: relative;
4+
}
5+
6+
.fr-search-bar--lg input {
7+
height: 3rem;
48
}

stories/SearchBar.stories.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const { meta, getStory } = getStoryFactory({
2929

3030
export default meta;
3131

32-
export const Default = getStory(
32+
export const DefaultUncontrolled = getStory(
3333
{
3434
"label": undefined,
3535
"onButtonClick": text => alert(`TODO: implement search with text: ${text}`)
@@ -53,6 +53,12 @@ import { SearchBar } from "@codegouvfr/react-dsfr/SearchBar";
5353
}
5454
);
5555

56+
export const BigUncontrolled = getStory({
57+
"label": undefined,
58+
"onButtonClick": text => alert(`TODO: implement search with text: ${text}`),
59+
"big": true
60+
});
61+
5662
export const WithControlledInput = getStory(
5763
{
5864
"renderInput": ({ className, id, placeholder, type }) => {

0 commit comments

Comments
 (0)