Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions components/callouts.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: 'Callouts'

Check warning on line 2 in components/callouts.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

components/callouts.mdx#L2

Did you really mean 'Callouts'?
description: 'Use callouts to add eye-catching context to your content'

Check warning on line 3 in components/callouts.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

components/callouts.mdx#L3

Did you really mean 'callouts'?
icon: 'info'
---

Callouts can be styled as a Note, Warning, Info, Tip, or Check:
Callouts can be styled as a Note, Warning, Info, Tip, Check, Danger, or create your own callout:

Check warning on line 7 in components/callouts.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

components/callouts.mdx#L7

Did you really mean 'Callouts'?

Check warning on line 7 in components/callouts.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

components/callouts.mdx#L7

Did you really mean 'callout'?

<Note>This adds a note in the content</Note>

Expand Down Expand Up @@ -38,14 +38,12 @@

<Danger>This is a danger callout</Danger>

```jsx
```mdx
<Danger>This is a danger callout</Danger>
```

<RequestExample>
<Callout icon="key" color="#FFC107" iconType="regular"> This is a custom callout</Callout>

Check warning on line 45 in components/callouts.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

components/callouts.mdx#L45

Did you really mean 'callout'?

```mdx Callout Example
<Note>This adds a note in the content</Note>
```mdx
<Callout icon="key" color="#FFC107" iconType="regular">This is a custom callout</Callout>
```

</RequestExample>
6 changes: 3 additions & 3 deletions components/tooltips.mdx
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
---
title: 'Tooltips'

Check warning on line 2 in components/tooltips.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

components/tooltips.mdx#L2

Did you really mean 'Tooltips'?
description: 'Show a definition when you hover over text'
icon: 'message-square'
---

Tooltips are a way to show a definition when you hover over text.

Check warning on line 7 in components/tooltips.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

components/tooltips.mdx#L7

Did you really mean 'Tooltips'?

<Tooltip tip="This is a tooltip!">Hover over me</Tooltip> and see a tooltip in action
<Tooltip tip="This is a tooltip!" cta="Learn more about changelogs" href="/components/update">Hover over me</Tooltip> and see a tooltip in action

Check warning on line 9 in components/tooltips.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

components/tooltips.mdx#L9

Did you really mean 'tooltip'?

<RequestExample>

```mdx Tooltip Example
<Tooltip tip="This is a tooltip!">Hover over me</Tooltip>
```mdx Tooltip Example wrap
<Tooltip tip="This is a tooltip!" cta="Learn more about changelogs" href="/components/update">Hover over me</Tooltip>
```

</RequestExample>