docs(back-button): update icon prop to include src and name approach (#24307)

This commit is contained in:
Sean Perkins
2021-12-03 12:52:42 -05:00
committed by GitHub
parent 047d3c7772
commit f7bd4c02c3
3 changed files with 5 additions and 4 deletions

View File

@ -45,7 +45,8 @@ export class BackButton implements ComponentInterface, ButtonInterface {
@Prop({ reflect: true }) disabled = false;
/**
* The icon name to use for the back button.
* The built-in named SVG icon name or the exact `src` of an SVG file
* to use for the back button.
*/
@Prop() icon?: string | null;