mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 19:01:05 +00:00
test(accordion): add more tests (#2182)
This commit is contained in:
parent
8e934fbcc6
commit
7b0e6f8b69
2 changed files with 108 additions and 22 deletions
|
@ -1,27 +1,14 @@
|
|||
<script lang="ts">
|
||||
import { Accordion, AccordionItem } from "carbon-components-svelte";
|
||||
|
||||
export let align: "start" | "end" = "end";
|
||||
export let size: "sm" | "xl" | undefined = undefined;
|
||||
</script>
|
||||
|
||||
<Accordion>
|
||||
<AccordionItem title="Natural Language Classifier">
|
||||
<p>
|
||||
Natural Language Classifier uses advanced natural language processing and
|
||||
machine learning techniques to create custom classification models. Users
|
||||
train their data and the service predicts the appropriate category for the
|
||||
inputted text.
|
||||
</p>
|
||||
</AccordionItem>
|
||||
<AccordionItem title="Natural Language Understanding" disabled>
|
||||
<p>
|
||||
Analyze text to extract meta-data from content such as concepts, entities,
|
||||
emotion, relations, sentiment and more.
|
||||
</p>
|
||||
</AccordionItem>
|
||||
<AccordionItem title="Language Translator">
|
||||
<p>
|
||||
Translate text, documents, and websites from one language to another.
|
||||
Create industry or region-specific translations via the service's
|
||||
customization capability.
|
||||
</p>
|
||||
</AccordionItem>
|
||||
<Accordion {align} {size}>
|
||||
<AccordionItem title="Natural Language Classifier">1</AccordionItem>
|
||||
<AccordionItem title="Natural Language Understanding" disabled
|
||||
>2</AccordionItem
|
||||
>
|
||||
<AccordionItem title="Language Translator">3</AccordionItem>
|
||||
</Accordion>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue