File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
static/app/components/replays/player/__stories__ Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { Fragment , type ReactNode } from 'react' ;
2
2
import { css } from '@emotion/react' ;
3
3
4
+ import { Input } from 'sentry/components/core/input' ;
4
5
import Providers from 'sentry/components/replays/player/__stories__/providers' ;
5
6
import ReplayLoadingState from 'sentry/components/replays/player/replayLoadingState' ;
6
7
import useLoadReplayReader from 'sentry/utils/replays/hooks/useLoadReplayReader' ;
@@ -17,7 +18,7 @@ export default function ReplaySlugChooser(props: Props) {
17
18
const [ replaySlug , setReplaySlug ] = useSessionStorage ( 'stories:replaySlug' , '' ) ;
18
19
19
20
const input = (
20
- < input
21
+ < Input
21
22
defaultValue = { replaySlug }
22
23
onChange = { event => {
23
24
setReplaySlug ( event . target . value ) ;
@@ -26,7 +27,7 @@ export default function ReplaySlugChooser(props: Props) {
26
27
css = { css `
27
28
font-variant-numeric : tabular-nums;
28
29
` }
29
- size = { 34 }
30
+ size = "sm"
30
31
/>
31
32
) ;
32
33
@@ -61,5 +62,5 @@ export default function ReplaySlugChooser(props: Props) {
61
62
) ;
62
63
}
63
64
64
- return null ;
65
+ return input ;
65
66
}
You can’t perform that action at this time.
0 commit comments