Skip to content

Commit 88dbdb0

Browse files
committedMar 17, 2025
feat(sanity): add TimeInput component (#8921)
1 parent bafc8a4 commit 88dbdb0

File tree

1 file changed

+9
-0
lines changed
  • packages/sanity/src/core/components/inputs/DateInputs

1 file changed

+9
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import {styled} from 'styled-components'
2+
3+
import {LazyTextInput} from './LazyTextInput'
4+
5+
export const TimeInput = styled(LazyTextInput).attrs(() => ({
6+
type: 'time',
7+
}))`
8+
line-height: 1;
9+
`

0 commit comments

Comments
 (0)
Please sign in to comment.