mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 10:16:27 +03:00
Remove reliance on InlineList
This commit is contained in:
parent
0fe4f87072
commit
c48c8d55e7
|
@ -65,7 +65,7 @@ import { Colors, Patterns } from 'widgets/styleguide'
|
|||
|
||||
## Typography {#typography}
|
||||
|
||||
import { H1, H2, H3, H4, H5, Label, InlineList } from 'components/typography'
|
||||
import { H1, H2, H3, H4, H5, Label } from 'components/typography'
|
||||
|
||||
> #### Markdown
|
||||
>
|
||||
|
@ -179,13 +179,11 @@ new anymore. Setting `variant="model"` takes a description of model capabilities
|
|||
and can be used to mark features that require a respective model to be
|
||||
installed.
|
||||
|
||||
<InlineList>
|
||||
|
||||
<Tag>method</Tag> <Tag variant="new">4</Tag> <Tag variant="model">
|
||||
tagger, parser
|
||||
</Tag>
|
||||
|
||||
</InlineList>
|
||||
<p>
|
||||
<Tag>method</Tag>
|
||||
<Tag variant="new">4</Tag>
|
||||
<Tag variant="model">tagger, parser</Tag>
|
||||
</p>
|
||||
|
||||
### Buttons {#buttons}
|
||||
|
||||
|
@ -200,25 +198,21 @@ Link buttons come in two variants, `primary` and `secondary` and two sizes, with
|
|||
an optional `large` size modifier. Since they're mostly used as enhanced links,
|
||||
the buttons are implemented as styled links instead of native button elements.
|
||||
|
||||
<InlineList>
|
||||
<Button to="#" variant="primary">
|
||||
Primary small
|
||||
</Button>
|
||||
<Button to="#" variant="secondary">
|
||||
Secondary small
|
||||
</Button>
|
||||
</InlineList>
|
||||
<p>
|
||||
<Button to="#" variant="primary">Primary small</Button>
|
||||
|
||||
<br />
|
||||
{' '}
|
||||
|
||||
<InlineList>
|
||||
<Button to="#" variant="primary" large>
|
||||
Primary large
|
||||
</Button>
|
||||
<Button to="#" variant="secondary" large>
|
||||
Secondary large
|
||||
</Button>
|
||||
</InlineList>
|
||||
<Button to="#" variant="secondary">Secondary small</Button>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<Button to="#" variant="primary">Primary small</Button>
|
||||
|
||||
{' '}
|
||||
|
||||
<Button to="#" variant="secondary">Secondary small</Button>
|
||||
</p>
|
||||
|
||||
## Components
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user