| Property | Type | Required | Default | Description |
|---|---|---|---|---|
filter |
string |
✅ | - | File type filter to open file picker with |
icon |
keyof IconPack1 |
✅ | - | Icon |
iconPack |
IconPack1 |
❌ | defaultIconPack |
Icon pack |
label |
string |
✅ | - | Label for tooltip |
t |
RtkI18n1 |
❌ | useLanguage() |
Language |
<rtk-file-picker-button></rtk-file-picker-button><rtk-file-picker-button
filter="example"
label="example">
</rtk-file-picker-button><script>
const el = document.querySelector("rtk-file-picker-button");
el.icon= defaultIconPack
</script>