Skip to content

Commit 6fac4c1

Browse files
committed
add warning for conditionals
1 parent 706aad7 commit 6fac4c1

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

docs/app/Examples/elements/Button/Content/ButtonContentExamples.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React, {Component} from 'react';
22
import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample';
33
import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection';
4+
import {Message} from 'stardust';
45

56
export default class ButtonStatesExamples extends Component {
67
render() {
@@ -10,7 +11,12 @@ export default class ButtonStatesExamples extends Component {
1011
title='Conditionals'
1112
description='Button groups can contain conditionals'
1213
examplePath='elements/Button/Content/ButtonConditionalsExample'
13-
/>
14+
>
15+
<Message className='warning'>
16+
Or buttons can have their text localized, or adjusted by using the data-text attribute.
17+
If the size of the conditional changes you will need to adjust @orCircleSize.
18+
</Message>
19+
</ComponentExample>
1420
</ExampleSection>
1521
);
1622
}

0 commit comments

Comments
 (0)