mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
Make the 'helper text' feature more generic
This commit is contained in:
parent
06d81ddbff
commit
4b805bad42
19 changed files with 181 additions and 76 deletions
11
tests/HelperText.test.svelte
Normal file
11
tests/HelperText.test.svelte
Normal file
|
@ -0,0 +1,11 @@
|
|||
<script lang="ts">
|
||||
import { HelperText } from "../types";
|
||||
</script>
|
||||
|
||||
<HelperText>Base helper</HelperText>
|
||||
|
||||
<HelperText helperText="Helper text as parameter" />
|
||||
|
||||
<HelperText disabled="{true}">Helper with disabled variant</HelperText>
|
||||
|
||||
<HelperText inline="{true}">Helper with inline variant</HelperText>
|
Loading…
Add table
Add a link
Reference in a new issue