-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9b9515e
commit 95aa78c
Showing
218 changed files
with
9,489 additions
and
8,270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 12 additions & 9 deletions
21
packages/react-ui/components/Autocomplete/Autocomplete.styles.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
import { css, memoizeStyle } from '../../lib/theming/Emotion'; | ||
import type { Emotion } from '@emotion/css/create-instance'; | ||
|
||
import { memoizeStyle } from '../../lib/theming/Emotion'; | ||
import { Theme } from '../../lib/theming/Theme'; | ||
|
||
export const styles = memoizeStyle({ | ||
root(t: Theme) { | ||
return css` | ||
display: inline-block; | ||
width: ${t.inputWidth}; | ||
`; | ||
}, | ||
}); | ||
export const getStyles = (emotion: Emotion) => | ||
memoizeStyle({ | ||
root(t: Theme) { | ||
return emotion.css` | ||
display: inline-block; | ||
width: ${t.inputWidth}; | ||
`; | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.