We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32dd822 commit 2116effCopy full SHA for 2116eff
polaris.shopify.com/src/components/StatusBanner/StatusBanner.tsx
@@ -6,9 +6,10 @@ interface Props {
6
}
7
8
function StatusBanner({status: {value, message}}: Props) {
9
+ const statusValue = value.charAt(0).toUpperCase() + value.slice(1);
10
return (
11
<div className={styles.StatusBanner} data-value={value.toLowerCase()}>
- <h2>{value}</h2>
12
+ <h2>{statusValue}</h2>
13
<p>{message}</p>
14
</div>
15
);
0 commit comments