Skip to content

Commit 81685bd

Browse files
authored
refactor: the note of the react message is displayed with Callout (#60)
* refactor: now the 'message this documentation assumes...' is displayed inside a Callout --------- Co-authored-by: lautarovilas <lautarovilas@users.noreply.github.com>
1 parent 330c166 commit 81685bd

23 files changed

+40
-23
lines changed

docs/components/bar-list.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,6 @@ const IconTwitter = () => {
714714
]}
715715
/>
716716

717-
Note: This documentation assumes that the audience has basic knowledge of React
718-
and how to use components in React applications.
717+
<AlertReactKnowledge />
719718

720-
<BackAndForwardController />
719+
<BackAndForwardController />

docs/components/callout.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,6 @@ export default function App() {
137137

138138
/>
139139

140-
Note: This documentation assumes that the audience has basic knowledge of React and how to use components in React applications.
140+
<AlertReactKnowledge />
141141

142142
<BackAndForwardController />

docs/components/circle.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,6 @@ within it.
178178
]}
179179
/>
180180

181-
Note: This documentation assumes that the audience has basic knowledge of React and how to use components in React applications.
181+
<AlertReactKnowledge />
182182

183183
<BackAndForwardController />

docs/components/date-picker.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,6 @@ With the prop <Tag text='maxDate' />, you can define the maximum selectable date
157157
]}
158158
/>
159159

160-
Note: This documentation assumes that the audience has basic knowledge of React and how to use components in React applications.
160+
<AlertReactKnowledge />
161161

162162
<BackAndForwardController />

docs/components/dropdown.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,6 @@ export default DropdownComponent
142142
]}
143143
/>
144144

145-
Note: This documentation assumes that the audience has basic knowledge of React and how to use components in React applications.
145+
<AlertReactKnowledge />
146146

147147
<BackAndForwardController />

docs/components/dynamic-hero-icon.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,6 @@ With the prop <Tag text='className' />, you can choose the color of the chosen i
100100
You can import IconName like this <Tag text='import {IconName} from "dd360-ds/DynamicHeroIcon"' />
101101

102102

103-
Note: This documentation assumes that the audience has basic knowledge of React and how to use components in React applications.
103+
<AlertReactKnowledge />
104104

105105
<BackAndForwardController />

docs/components/filter-select-multi.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,6 @@ The prop <Tag text='width' /> used to customize the size
321321

322322
/>
323323

324-
Note: This documentation assumes that the audience has basic knowledge of React and how to use components in React applications.
324+
<AlertReactKnowledge />
325325

326326
<BackAndForwardController />

docs/components/filter-select.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,6 @@ The prop <Tag text='width' /> used to customize the size
354354

355355
/>
356356

357-
Note: This documentation assumes that the audience has basic knowledge of React and how to use components in React applications.
357+
<AlertReactKnowledge />
358358

359359
<BackAndForwardController />

docs/components/skeleton.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,6 @@ tabular structure.
163163
]}
164164
/>
165165

166-
Note: This documentation assumes that the audience has basic knowledge of React and how to use components in React applications.
166+
<AlertReactKnowledge />
167167

168168
<BackAndForwardController />

docs/components/table.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,6 @@ The "Accordion" component is an interactive element that allows you to expand an
525525

526526
/>
527527

528-
Note: This documentation assumes that the audience has basic knowledge of React and how to use components in React applications.
528+
<AlertReactKnowledge />
529529

530530
<BackAndForwardController />

0 commit comments

Comments
 (0)