Add Admonition component (#5680)

* Add Admonition component

* Tweak mobile padding

* Format
This commit is contained in:
Eric Bailey
2024-10-14 04:06:07 -05:00
committed by GitHub
parent 7f3b5366e6
commit 830b4bee9c
4 changed files with 167 additions and 2 deletions
+10 -1
View File
@@ -23,7 +23,16 @@ module.exports = {
'bsky-internal/avoid-unwrapped-text': [
'error',
{
impliedTextComponents: ['H1', 'H2', 'H3', 'H4', 'H5', 'H6', 'P'],
impliedTextComponents: [
'H1',
'H2',
'H3',
'H4',
'H5',
'H6',
'P',
'Admonition',
],
impliedTextProps: [],
suggestedTextWrappers: {
Button: 'ButtonText',