@yahoo/uds 1.8.1 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,14 +0,0 @@
|
|
1
|
-
import { Button, cx, HStack, Text } from '@yahoo/uds';
|
2
|
-
const textClassName = cx('text-primary');
|
3
|
-
const otherProps = { height: 'fit' };
|
4
|
-
|
5
|
-
export const PageA = () => {
|
6
|
-
return (
|
7
|
-
<HStack className="w-full max-h-screen">
|
8
|
-
<Button className="min-w-full">Click me</Button>
|
9
|
-
{/* 🙏 TODO: Add w-10/12 to your className attribute */}
|
10
|
-
<Text className={textClassName}>Some text</Text>
|
11
|
-
<Text {...otherProps}>Some text</Text>
|
12
|
-
</HStack>
|
13
|
-
);
|
14
|
-
}
|