File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 1+ import { Heading } from '@datacamp/waffles/heading' ;
12import { mediaQuery } from '@datacamp/waffles/helpers' ;
23import { Input } from '@datacamp/waffles/input' ;
34import styled from '@emotion/styled' ;
@@ -19,7 +20,7 @@ type Props = {
1920 packageVersion : string ;
2021} ;
2122
22- const FlexContainer = styled . div ( {
23+ const Flex = styled . div ( {
2324 [ mediaQuery . aboveMedium ] : {
2425 alignItems : 'center' ,
2526 display : 'flex' ,
@@ -28,11 +29,6 @@ const FlexContainer = styled.div({
2829 display : 'block' ,
2930} ) ;
3031
31- const Heading = styled . h2 ( {
32- fontSize : '1.5rem' ,
33- fontWeight : 'bold' ,
34- } ) ;
35-
3632const InputWrapper = styled . div ( {
3733 [ mediaQuery . aboveMedium ] : {
3834 marginTop : 0 ,
@@ -75,11 +71,11 @@ export default function PackageFunctionList({
7571 return (
7672 < div >
7773 < CourseAds />
78- < FlexContainer >
74+ < Flex >
7975 < Heading > { `Functions in ${ packageName } (${ packageVersion } )` } </ Heading >
8076 < InputWrapper >
8177 < label className = "sr-only" htmlFor = "functionSearch" >
82- Search functions
78+ Search all functions
8379 </ label >
8480 < Input
8581 id = "functionSearch"
@@ -89,7 +85,7 @@ export default function PackageFunctionList({
8985 value = { searchInput }
9086 />
9187 </ InputWrapper >
92- </ FlexContainer >
88+ </ Flex >
9389 < GridContainer >
9490 { filteredFunctions . map ( ( fn ) => (
9591 < ClickableCard
You can’t perform that action at this time.
0 commit comments