Code

Props

Props
Data Type
Required

name

string

(Check Telicon website to get the name of the icon).

className

string

size

string

(Default, Medium, Large)

onClick

function

onClick Prop Event

onClick prop event simulates a native click event, giving to the developer the option of executing a custom function or having access to the event param, like in the following example:

const customAction = (e)=>{
    console.log(e);
}

return(
    <div>
        ...
        <Telicon name='bell' onClick={customAction} />
        ...
    </div>
)

Live Demo

For detailed code usage documentation, see the Storybooks for each framework below.

React

Last updated